Home
last modified time | relevance | path

Searched defs:rta (Results 1 – 25 of 25) sorted by relevance

/external/iproute2/include/
Dlibnetlink.h114 #define RTA_TAIL(rta) \ argument
118 #define parse_rtattr_nested(tb, max, rta) \ argument
121 #define parse_rtattr_one_nested(type, rta) \ argument
124 #define parse_rtattr_nested_compat(tb, max, rta, data, len) \ argument
128 static inline __u8 rta_getattr_u8(const struct rtattr *rta) in rta_getattr_u8()
132 static inline __u16 rta_getattr_u16(const struct rtattr *rta) in rta_getattr_u16()
136 static inline __u32 rta_getattr_u32(const struct rtattr *rta) in rta_getattr_u32()
140 static inline __u64 rta_getattr_u64(const struct rtattr *rta) in rta_getattr_u64()
146 static inline const char *rta_getattr_str(const struct rtattr *rta) in rta_getattr_str()
/external/iproute2/lib/
Dlibnetlink.c654 struct rtattr *rta; in addattr_l() local
714 int rta_addattr32(struct rtattr *rta, int maxlen, int type, __u32 data) in rta_addattr32()
731 int rta_addattr_l(struct rtattr *rta, int maxlen, int type, in rta_addattr_l()
749 int rta_addattr8(struct rtattr *rta, int maxlen, int type, __u8 data) in rta_addattr8()
754 int rta_addattr16(struct rtattr *rta, int maxlen, int type, __u16 data) in rta_addattr16()
759 int rta_addattr64(struct rtattr *rta, int maxlen, int type, __u64 data) in rta_addattr64()
764 struct rtattr *rta_nest(struct rtattr *rta, int maxlen, int type) in rta_nest()
773 int rta_nest_end(struct rtattr *rta, struct rtattr *nest) in rta_nest_end()
780 int parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len) in parse_rtattr()
785 int parse_rtattr_flags(struct rtattr *tb[], int max, struct rtattr *rta, in parse_rtattr_flags()
[all …]
/external/iproute2/ip/
Diproute_lwtunnel.c177 static int parse_encap_mpls(struct rtattr *rta, size_t len, int *argcp, char ***argvp) in parse_encap_mpls()
197 static int parse_encap_ip(struct rtattr *rta, size_t len, int *argcp, char ***argvp) in parse_encap_ip()
250 static int parse_encap_ila(struct rtattr *rta, size_t len, in parse_encap_ila()
270 static int parse_encap_ip6(struct rtattr *rta, size_t len, int *argcp, char ***argvp) in parse_encap_ip6()
323 int lwt_parse_encap(struct rtattr *rta, size_t len, int *argcp, char ***argvp) in lwt_parse_encap()
Dipxfrm.c693 struct rtattr *rta = tb[XFRMA_MARK]; in xfrm_xfrma_print() local
700 struct rtattr *rta = tb[XFRMA_ALG_AUTH]; in xfrm_xfrma_print() local
706 struct rtattr *rta = tb[XFRMA_ALG_AUTH_TRUNC]; in xfrm_xfrma_print() local
712 struct rtattr *rta = tb[XFRMA_ALG_AEAD]; in xfrm_xfrma_print() local
718 struct rtattr *rta = tb[XFRMA_ALG_CRYPT]; in xfrm_xfrma_print() local
724 struct rtattr *rta = tb[XFRMA_ALG_COMP]; in xfrm_xfrma_print() local
767 struct rtattr *rta = tb[XFRMA_TMPL]; in xfrm_xfrma_print() local
Diproute.c725 struct rtattr *rta, struct rtnexthop *rtnh, in parse_one_nh()
789 struct rtattr *rta = (void*)buf; in parse_nexthops() local
1127 struct rtattr *rta = (void*)buf; in iproute_modify() local
Dxfrm_policy.c463 struct rtattr * rta; in xfrm_policy_print() local
923 struct rtattr * rta; in print_spdinfo() local
Dxfrm_state.c873 struct rtattr * rta; in xfrm_state_print() local
1237 struct rtattr *rta; in print_sadinfo() local
/external/wpa_supplicant_8/src/drivers/
Dpriv_netlink.h64 #define RTA_OK(rta,len) \ argument
67 #define RTA_NEXT(rta,attrlen) \ argument
72 #define RTA_DATA(rta) ((void *) (((char *) (rta)) + RTA_LENGTH(0))) argument
73 #define RTA_PAYLOAD(rta) ((int) ((rta)->rta_len) - RTA_LENGTH(0)) argument
Dnetlink.c177 struct rtattr *rta; in netlink_send_oper_ifla() local
/external/iproute2/tc/
Dtc_stab.c110 void print_size_table(FILE *fp, const char *prefix, struct rtattr *rta) in print_size_table()
Dem_meta.c437 static inline int print_value(FILE *fd, int type, struct rtattr *rta) in print_value()
462 static int print_object(FILE *fd, struct tcf_meta_val *obj, struct rtattr *rta) in print_object()
Dm_ematch.c443 struct rtattr *rta) in print_ematch_list()
467 int print_ematch(FILE *fd, const struct rtattr *rta) in print_ematch()
Dtc_util.c515 void print_tcstats2_attr(FILE *fp, struct rtattr *rta, char *prefix, struct rtattr **xstats) in print_tcstats2_attr()
/external/dhcpcd-6.8.2/
Dif-linux.c399 struct rtattr *rta; in if_copyrt() local
465 struct rtattr *rta; in if_copyrt6() local
582 struct rtattr *rta; in link_addr() local
694 struct rtattr *rta; in link_neigh() local
739 struct rtattr *rta, *hwaddr; in link_netlink() local
880 struct rtattr *rta; in add_attr_l() local
902 struct rtattr *rta; in add_attr_32() local
1499 rta_add_attr_32(struct rtattr *rta, unsigned short maxlen, in rta_add_attr_32()
/external/dnsmasq/src/
Dnetlink.c189 struct rtattr *rta = IFA_RTA(ifa); in iface_enumerate() local
/external/webrtc/webrtc/base/
Difaddrs-android.cc174 rtattr* rta = IFA_RTA(address_msg); in getifaddrs() local
/external/toybox/toys/pending/
Dip.c431 struct rtattr *rta; in add_string_to_rtattr() local
950 struct rtattr *rta, *rta_tb[IFA_MAX+1] = {0,}; in print_addrinfo() local
1351 struct rtattr *rta, *rta_tb[IFA_MAX+1] = {0,}; in ipaddr_print() local
1467 struct rtattr *rta, *attr[RTA_MAX+1] = {0,}; in display_route_info() local
1600 struct rtattr *rta, *attr[RTA_MAX+1] = {0,}; in display_route_info() local
1731 struct rtattr *rta, *attr[RTA_MAX+1] = {0,}; in route_get() local
2221 struct rtattr *rta, *attr[RTA_MAX+1] = {0,}; in show_rules() local
/external/avahi/avahi-autoipd/
Diface-bsd.c374 #define SKIPRTA(ifamsgp, rta, sa) \ in rtm_dispatch_newdeladdr() argument
/external/libnl/include/linux/
Drtnetlink.h134 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \ argument
137 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), \ argument
141 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0))) argument
142 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0)) argument
/external/dnsmasq/contrib/wrt/
Ddhcp_release.c225 struct rtattr *rta; in find_interface() local
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c113 static int parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len) in parse_rtattr()
/external/kernel-headers/original/uapi/linux/
Drtnetlink.h165 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \ argument
168 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), \ argument
172 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0))) argument
173 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0)) argument
/external/iproute2/include/linux/
Drtnetlink.h165 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \ argument
168 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), \ argument
172 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0))) argument
173 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0)) argument
/external/iputils/ninfod/
Dni_ifaddrs.c387 struct rtattr *rta; in ni_ifaddrs() local
/external/iproute2/misc/
Dss.c2128 struct rtattr rta; in tcpdiag_send() local
2194 struct rtattr rta; in sockdiag_send() local