Home
last modified time | relevance | path

Searched refs:rtnl_open_byproto (Results 1 – 9 of 9) sorted by relevance

/external/iproute2/genl/
Dctrl.c59 if (rtnl_open_byproto(&rth, 0, NETLINK_GENERIC) < 0) { in genl_ctrl_resolve_family()
303 if (rtnl_open_byproto(&rth, 0, NETLINK_GENERIC) < 0) { in ctrl_list()
369 if (rtnl_open_byproto(&rth, nl_mgrp(GENL_ID_CTRL), NETLINK_GENERIC) < 0) { in ctrl_listen()
/external/iproute2/lib/
Dlibgenl.c70 if (rtnl_open_byproto(grth, 0, NETLINK_GENERIC) < 0) { in genl_init_handle()
Dlibnetlink.c137 int rtnl_open_byproto(struct rtnl_handle *rth, unsigned int subscriptions, in rtnl_open_byproto() function
199 return rtnl_open_byproto(rth, subscriptions, NETLINK_ROUTE); in rtnl_open()
/external/iproute2/ip/
Dxfrm_policy.c383 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0) in xfrm_policy_modify()
645 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0) in xfrm_policy_get_or_delete()
842 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0) in xfrm_policy_list_or_deleteall()
1068 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0) in xfrm_spd_setinfo()
1093 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0) in xfrm_spd_getinfo()
1139 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0) in xfrm_policy_flush()
Dxfrm_state.c732 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0) in xfrm_state_modify()
863 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0) in xfrm_state_allocspi()
1051 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0) in xfrm_state_get_or_delete()
1188 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0) in xfrm_state_list_or_deleteall()
1346 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0) in xfrm_sad_getinfo()
1393 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0) in xfrm_state_flush()
Dipseg6.c131 if (rtnl_open_byproto(&grth, 0, NETLINK_GENERIC) < 0) { in seg6_do_cmd()
Dxfrm_monitor.c418 if (rtnl_open_byproto(&rth, groups, NETLINK_XFRM) < 0) in do_xfrm_monitor()
/external/iproute2/include/
Dlibnetlink.h43 int rtnl_open_byproto(struct rtnl_handle *rth, unsigned int subscriptions,
/external/iproute2/misc/
Dss.c2666 if (rtnl_open_byproto(&rth, 0, NETLINK_SOCK_DIAG)) in inet_show_netlink()
2670 if (rtnl_open_byproto(&rth2, 0, NETLINK_SOCK_DIAG)) { in inet_show_netlink()
3108 if (rtnl_open_byproto(&rth, 0, NETLINK_SOCK_DIAG)) in handle_netlink_request()
3736 if (rtnl_open_byproto(&rth, groups, NETLINK_SOCK_DIAG)) in handle_follow_request()