Home
last modified time | relevance | path

Searched refs:srcprefix (Results 1 – 3 of 3) sorted by relevance

/third_party/ltp/include/
Dtst_netdevice.h78 unsigned int srcprefix, size_t srclen, const void *dstaddr,
81 #define NETDEV_ADD_ROUTE(ifname, family, srcaddr, srcprefix, srclen, dstaddr, \ argument
84 (srcaddr), (srcprefix), (srclen), (dstaddr), (dstprefix), \
93 const char *ifname, in_addr_t srcaddr, unsigned int srcprefix,
95 #define NETDEV_ADD_ROUTE_INET(ifname, srcaddr, srcprefix, dstaddr, dstprefix, \ argument
98 (srcprefix), (dstaddr), (dstprefix), (gateway))
105 unsigned int srcprefix, size_t srclen, const void *dstaddr,
108 #define NETDEV_REMOVE_ROUTE(ifname, family, srcaddr, srcprefix, srclen, \ argument
111 (srcaddr), (srcprefix), (srclen), (dstaddr), (dstprefix), \
118 const char *ifname, in_addr_t srcaddr, unsigned int srcprefix,
[all …]
/third_party/ltp/lib/
Dtst_netdevice.c372 const void *srcaddr, unsigned int srcprefix, size_t srclen, in modify_route() argument
382 .rtm_src_len = srcprefix, in modify_route()
452 in_addr_t srcaddr, unsigned int srcprefix, in_addr_t dstaddr, in modify_route_inet() argument
458 if (srcprefix) { in modify_route_inet()
474 srcprefix, srclen, dst, dstprefix, dstlen, gw, gwlen); in modify_route_inet()
479 unsigned int srcprefix, size_t srclen, const void *dstaddr, in tst_netdev_add_route() argument
484 NLM_F_CREATE | NLM_F_EXCL, ifname, family, srcaddr, srcprefix, in tst_netdev_add_route()
489 const char *ifname, in_addr_t srcaddr, unsigned int srcprefix, in tst_netdev_add_route_inet() argument
493 NLM_F_CREATE | NLM_F_EXCL, ifname, srcaddr, srcprefix, dstaddr, in tst_netdev_add_route_inet()
499 unsigned int srcprefix, size_t srclen, const void *dstaddr, in tst_netdev_remove_route() argument
[all …]
/third_party/ltp/doc/
Dnetwork-c-api.txt217 *srcaddr, unsigned int srcprefix, size_t srclen, const void *dstaddr,
229 int srcprefix, in_addr_t dstaddr, unsigned int dstprefix, in_addr_t
237 *srcaddr, unsigned int srcprefix, size_t srclen, const void *dstaddr,
244 unsigned int srcprefix, in_addr_t dstaddr, unsigned int dstprefix, in_addr_t