/external/iproute2/include/ |
D | libnetlink.h | 142 #define RTA_TAIL(rta) \ argument 146 #define parse_rtattr_nested(tb, max, rta) \ argument 149 #define parse_rtattr_one_nested(type, rta) \ argument 152 #define parse_rtattr_nested_compat(tb, max, rta, data, len) \ argument 156 static inline __u8 rta_getattr_u8(const struct rtattr *rta) in rta_getattr_u8() 160 static inline __u16 rta_getattr_u16(const struct rtattr *rta) in rta_getattr_u16() 164 static inline __be16 rta_getattr_be16(const struct rtattr *rta) in rta_getattr_be16() 168 static inline __u32 rta_getattr_u32(const struct rtattr *rta) in rta_getattr_u32() 172 static inline __be32 rta_getattr_be32(const struct rtattr *rta) in rta_getattr_be32() 176 static inline __u64 rta_getattr_u64(const struct rtattr *rta) in rta_getattr_u64() [all …]
|
D | utils.h | 122 #define format_host_rta(af, rta) \ argument 127 #define rt_addr_n2a_rta(af, rta) \ argument
|
/external/iproute2/ip/ |
D | iproute_lwtunnel.c | 467 static int parse_encap_seg6(struct rtattr *rta, size_t len, int *argcp, in parse_encap_seg6() 530 static int parse_encap_seg6local(struct rtattr *rta, size_t len, int *argcp, in parse_encap_seg6local() 638 static int parse_encap_mpls(struct rtattr *rta, size_t len, in parse_encap_mpls() 685 static int parse_encap_ip(struct rtattr *rta, size_t len, in parse_encap_ip() 745 static int parse_encap_ila(struct rtattr *rta, size_t len, in parse_encap_ila() 791 static int parse_encap_ip6(struct rtattr *rta, size_t len, in parse_encap_ip6() 853 struct rtattr *rta; member 870 static int lwt_parse_bpf(struct rtattr *rta, size_t len, in lwt_parse_bpf() 907 static int parse_encap_bpf(struct rtattr *rta, size_t len, int *argcp, in parse_encap_bpf() 958 int lwt_parse_encap(struct rtattr *rta, size_t len, int *argcp, char ***argvp) in lwt_parse_encap()
|
D | ipxfrm.c | 684 struct rtattr *rta = tb[XFRMA_MARK]; in xfrm_xfrma_print() local 700 struct rtattr *rta = tb[XFRMA_ALG_AUTH]; in xfrm_xfrma_print() local 707 struct rtattr *rta = tb[XFRMA_ALG_AUTH_TRUNC]; in xfrm_xfrma_print() local 714 struct rtattr *rta = tb[XFRMA_ALG_AEAD]; in xfrm_xfrma_print() local 721 struct rtattr *rta = tb[XFRMA_ALG_CRYPT]; in xfrm_xfrma_print() local 728 struct rtattr *rta = tb[XFRMA_ALG_COMP]; in xfrm_xfrma_print() local 769 struct rtattr *rta = tb[XFRMA_TMPL]; in xfrm_xfrma_print() local
|
D | iplink_macvlan.c | 186 struct rtattr *rta; in macvlan_print_opt() local
|
D | iproute.c | 741 struct rtattr *rta, struct rtnexthop *rtnh, in parse_one_nh() 818 struct rtattr *rta = (void *)buf; in parse_nexthops() local 1196 struct rtattr *rta = (void *)buf; in iproute_modify() local
|
D | xfrm_policy.c | 460 struct rtattr *rta; in xfrm_policy_print() local 928 struct rtattr *rta; in print_spdinfo() local
|
D | xfrm_state.c | 916 struct rtattr *rta; in xfrm_state_print() local 1288 struct rtattr *rta; in print_sadinfo() local
|
/external/iproute2/lib/ |
D | libnetlink.c | 864 struct rtattr *rta; in addattr_l() local 929 int rta_addattr32(struct rtattr *rta, int maxlen, int type, __u32 data) in rta_addattr32() 948 int rta_addattr_l(struct rtattr *rta, int maxlen, int type, in rta_addattr_l() 969 int rta_addattr8(struct rtattr *rta, int maxlen, int type, __u8 data) in rta_addattr8() 974 int rta_addattr16(struct rtattr *rta, int maxlen, int type, __u16 data) in rta_addattr16() 979 int rta_addattr64(struct rtattr *rta, int maxlen, int type, __u64 data) in rta_addattr64() 984 struct rtattr *rta_nest(struct rtattr *rta, int maxlen, int type) in rta_nest() 993 int rta_nest_end(struct rtattr *rta, struct rtattr *nest) in rta_nest_end() 1000 int parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len) in parse_rtattr() 1005 int parse_rtattr_flags(struct rtattr *tb[], int max, struct rtattr *rta, in parse_rtattr_flags() [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | priv_netlink.h | 64 #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
|
D | netlink.c | 177 struct rtattr *rta; in netlink_send_oper_ifla() local
|
/external/ltp/testcases/kernel/crypto/ |
D | crypto_user01.c | 48 static void validate_attr(const struct rtattr *rta) in validate_attr() 119 const struct rtattr *rta = (void *)alg + NLMSG_ALIGN(sizeof(*alg)); in validate_one_alg() local
|
/external/iproute2/tc/ |
D | tc_stab.c | 107 void print_size_table(FILE *fp, const char *prefix, struct rtattr *rta) in print_size_table()
|
D | em_meta.c | 436 static inline int print_value(FILE *fd, int type, struct rtattr *rta) in print_value() 461 static int print_object(FILE *fd, struct tcf_meta_val *obj, struct rtattr *rta) in print_object()
|
D | m_ematch.c | 442 struct rtattr *rta) in print_ematch_list() 466 int print_ematch(FILE *fd, const struct rtattr *rta) in print_ematch()
|
/external/ltp/testcases/kernel/containers/share/ |
D | ns_ifmove.c | 80 struct rtattr *rta; in main() local
|
/external/toybox/toys/pending/ |
D | ip.c | 453 static void add_varlen_rtattr_to_buffer(struct rtattr *rta, int maxlen, in add_varlen_rtattr_to_buffer() 469 static void add_uint32_rtattr_to_buffer(struct rtattr *rta, int maxlen, in add_uint32_rtattr_to_buffer() 481 struct rtattr *rta; in add_string_to_rtattr() local 1000 struct rtattr *rta, *rta_tb[IFA_MAX+1] = {0,}; in print_addrinfo() local 1401 struct rtattr *rta, *rta_tb[IFA_MAX+1] = {0,}; in ipaddr_print() local 1516 struct rtattr *rta, *mxrta[RTAX_MAX+1] = {0,}; in print_rta_metrics() local 1576 struct rtattr *rta, *attr[RTA_MAX+1] = {0,}; in display_route_info() local 1713 struct rtattr *rta, *attr[RTA_MAX+1] = {0,}; in display_route_info() local 1844 struct rtattr *rta, *attr[RTA_MAX+1] = {0,}; in route_get() local 2332 struct rtattr *rta, *attr[RTA_MAX+1] = {0,}; in show_rules() local
|
/external/dnsmasq/src/ |
D | netlink.c | 174 struct rtattr* rta = IFA_RTA(ifa); in iface_enumerate() local
|
/external/libnfnetlink/src/ |
D | rtnl.c | 94 int rtnl_parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len) in rtnl_parse_rtattr()
|
/external/webrtc/webrtc/base/ |
D | ifaddrs-android.cc | 174 rtattr* rta = IFA_RTA(address_msg); in getifaddrs() local
|
/external/libnl/include/linux-private/linux/ |
D | rtnetlink.h | 146 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \ argument 149 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), \ argument 153 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0))) argument 154 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0)) argument
|
/external/ipsec-tools/src/racoon/ |
D | grabmyaddr.c | 117 static int parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len) in parse_rtattr()
|
/external/iproute2/include/uapi/linux/ |
D | rtnetlink.h | 176 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \ argument 179 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), \ argument 183 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0))) argument 184 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0)) argument
|
/external/iputils/ninfod/ |
D | ni_ifaddrs.c | 387 struct rtattr *rta; in ni_ifaddrs() local
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | udpgso.c | 362 struct rtattr *rta; in set_route_mtu() local
|