X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fnetdev.h;h=24a9b6441359d833f86f9a1e5a756c4ed7437b16;hb=0a68ffd2347e96447c5b4751c9e5ac65d5100a56;hp=02271d4e3f84a2041a46768258b02fb76a8076d7;hpb=52e2fbfbabaa5606b833d4fa0fc9fb62f49b063c;p=openvswitch diff --git a/lib/netdev.h b/lib/netdev.h index 02271d4e..24a9b644 100644 --- a/lib/netdev.h +++ b/lib/netdev.h @@ -131,6 +131,7 @@ int netdev_set_advertisements(struct netdev *, uint32_t advertise); int netdev_get_in4(const struct netdev *, struct in_addr *address, struct in_addr *netmask); int netdev_set_in4(struct netdev *, struct in_addr addr, struct in_addr mask); +int netdev_get_in4_by_name(const char *device_name, struct in_addr *in4); int netdev_get_in6(const struct netdev *, struct in6_addr *); int netdev_add_router(struct netdev *, struct in_addr router); int netdev_get_next_hop(const struct netdev *, const struct in_addr *host,