Home
last modified time | relevance | path

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

/external/iproute2/genl/
Dctrl.c63 if (rtnl_open_byproto(&rth, 0, NETLINK_GENERIC) < 0) { in genl_ctrl_resolve_family()
313 if (rtnl_open_byproto(&rth, 0, NETLINK_GENERIC) < 0) { in ctrl_list()
379 if (rtnl_open_byproto(&rth, nl_mgrp(GENL_ID_CTRL), NETLINK_GENERIC) < 0) { in ctrl_listen()
/external/iproute2/ip/
Dxfrm_policy.c389 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0) in xfrm_policy_modify()
652 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0) in xfrm_policy_get_or_delete()
837 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0) in xfrm_policy_list_or_deleteall()
1063 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0) in xfrm_spd_setinfo()
1090 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()
Dipfou.c136 if (rtnl_open_byproto(&genl_rth, 0, NETLINK_GENERIC) < 0) { in do_ipfou()
Dxfrm_state.c684 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0) in xfrm_state_modify()
820 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0) in xfrm_state_allocspi()
1010 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0) in xfrm_state_get_or_delete()
1137 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0) in xfrm_state_list_or_deleteall()
1296 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0) in xfrm_sad_getinfo()
1346 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0) in xfrm_state_flush()
Dxfrm_monitor.c426 if (rtnl_open_byproto(&rth, groups, NETLINK_XFRM) < 0) in do_xfrm_monitor()
Dtcp_metrics.c404 if (rtnl_open_byproto(&grth, 0, NETLINK_GENERIC) < 0) { in tcpm_do_cmd()
Dipl2tp.c724 if (rtnl_open_byproto(&genl_rth, 0, NETLINK_GENERIC) < 0) { in do_ipl2tp()
/external/iproute2/include/
Dlibnetlink.h32 int rtnl_open_byproto(struct rtnl_handle *rth, unsigned subscriptions,
/external/iproute2/lib/
Dlibnetlink.c46 int rtnl_open_byproto(struct rtnl_handle *rth, unsigned subscriptions, in rtnl_open_byproto() function
98 return rtnl_open_byproto(rth, subscriptions, NETLINK_ROUTE); in rtnl_open()
/external/iproute2/misc/
Dss.c2301 if (rtnl_open_byproto(&rth, 0, NETLINK_SOCK_DIAG)) in inet_show_netlink()
2305 if (rtnl_open_byproto(&rth2, 0, NETLINK_SOCK_DIAG)) { in inet_show_netlink()
2776 if (rtnl_open_byproto(&rth, 0, NETLINK_SOCK_DIAG)) in handle_netlink_request()
3371 if (rtnl_open_byproto(&rth, groups, NETLINK_SOCK_DIAG)) in handle_follow_request()