ovsdb/jsonrpc-server: ovsdb-server closes accepted connections immediately.
[openvswitch] / lib / route-table.h
index e7e1921a4cbb93359b81dc6156161639020451d8..804cb3fffa278487e45750dbcdcbd15f6f0ec628 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011 Nicira Networks.
+ * Copyright (c) 2011 Nicira, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
 #ifndef ROUTE_TABLE_H
 #define ROUTE_TABLE_H 1
 
+#include <sys/socket.h>
+#include <net/if.h>
 #include <stdbool.h>
 #include <stdint.h>
 
 #include "openvswitch/types.h"
 
 bool route_table_get_ifindex(ovs_be32 ip, int *ifindex);
+bool route_table_get_name(ovs_be32 ip, char name[IFNAMSIZ]);
 void route_table_register(void);
 void route_table_unregister(void);
 void route_table_run(void);