Home
last modified time | relevance | path

Searched refs:ndmsg (Results 1 – 18 of 18) sorted by relevance

/external/strace/
Drtnl_neigh.c51 const struct ndmsg *const ndmsg = opaque_data; in decode_neigh_addr() local
53 decode_inet_addr(tcp, addr, len, ndmsg->ndm_family, NULL); in decode_neigh_addr()
95 struct ndmsg ndmsg = { .ndm_family = family }; in DECL_NETLINK_ROUTE_DECODER() local
96 size_t offset = sizeof(ndmsg.ndm_family); in DECL_NETLINK_ROUTE_DECODER()
99 PRINT_FIELD_XVAL("{", ndmsg, ndm_family, addrfams, "AF_???"); in DECL_NETLINK_ROUTE_DECODER()
102 if (len >= sizeof(ndmsg)) { in DECL_NETLINK_ROUTE_DECODER()
104 sizeof(ndmsg) - offset, in DECL_NETLINK_ROUTE_DECODER()
105 (char *) &ndmsg + offset)) { in DECL_NETLINK_ROUTE_DECODER()
106 PRINT_FIELD_IFINDEX("", ndmsg, ndm_ifindex); in DECL_NETLINK_ROUTE_DECODER()
107 PRINT_FIELD_FLAGS(", ", ndmsg, ndm_state, in DECL_NETLINK_ROUTE_DECODER()
[all …]
DChangeLog11844 tests: check decoding of ndmsg netlink attributes.
11849 rtnl_neigh: decode ndmsg netlink attributes.
11875 rtnl_neigh: fix ndm_type field decode in struct ndmsg.
12555 tests: check decoding of NETLINK_ROUTE ndmsg attributes.
12564 netlink: add basic decoding of NETLINK_ROUTE ndmsg attributes.
/external/strace/tests-m32/
Dnlattr_ndmsg.c51 struct ndmsg *const msg = NLMSG_DATA(nlh); in init_ndmsg()
52 SET_STRUCT(struct ndmsg, msg, in init_ndmsg()
79 const unsigned int hdrlen = sizeof(struct ndmsg); in main()
Dnetlink_route.c305 const struct ndmsg msg = { in test_rtnl_neigh()
/external/strace/tests-mx32/
Dnlattr_ndmsg.c51 struct ndmsg *const msg = NLMSG_DATA(nlh); in init_ndmsg()
52 SET_STRUCT(struct ndmsg, msg, in init_ndmsg()
79 const unsigned int hdrlen = sizeof(struct ndmsg); in main()
Dnetlink_route.c305 const struct ndmsg msg = { in test_rtnl_neigh()
/external/strace/tests/
Dnlattr_ndmsg.c51 struct ndmsg *const msg = NLMSG_DATA(nlh); in init_ndmsg()
52 SET_STRUCT(struct ndmsg, msg, in init_ndmsg()
79 const unsigned int hdrlen = sizeof(struct ndmsg); in main()
Dnetlink_route.c305 const struct ndmsg msg = { in test_rtnl_neigh()
/external/iproute2/ip/
Dipneigh.c102 struct ndmsg ndm; in ipneigh_modify()
105 .n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ndmsg)), in ipneigh_modify()
197 struct ndmsg *r = NLMSG_DATA(n); in print_neigh()
345 struct ndmsg ndm; in do_show_or_flush()
349 .n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ndmsg)), in do_show_or_flush()
Dipmonitor.c105 struct ndmsg *r = NLMSG_DATA(n); in accept_msg()
/external/iproute2/bridge/
Dfdb.c97 struct ndmsg *r = NLMSG_DATA(n); in print_fdb()
406 struct ndmsg ndm; in fdb_modify()
409 .n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ndmsg)), in fdb_modify()
/external/iproute2/include/
Dlibnetlink.h215 ((struct rtattr *)(((char *)(r)) + NLMSG_ALIGN(sizeof(struct ndmsg))))
218 #define NDA_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct ndmsg))
/external/libnl/include/linux-private/linux/
Dneighbour.h7 struct ndmsg { struct
/external/iproute2/include/uapi/linux/
Dneighbour.h8 struct ndmsg { struct
/external/kernel-headers/original/uapi/linux/
Dneighbour.h8 struct ndmsg { struct
/external/syzkaller/sys/linux/
Dsocket_netlink_route.txt36 newneigh netlink_msg[RTM_NEWNEIGH, ndmsg, nd_policy]
37 delneigh netlink_msg[RTM_DELNEIGH, ndmsg, nd_policy]
75 bridge_newneigh netlink_msg[RTM_NEWNEIGH, ndmsg, nd_policy]
76 bridge_delneigh netlink_msg[RTM_DELNEIGH, ndmsg, nd_policy]
120 ndmsg {
/external/iproute2/misc/
Darpd.c267 struct ndmsg ndm; in respond_to_kernel()
270 .n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ndmsg)), in respond_to_kernel()
297 struct ndmsg *ndm = NLMSG_DATA(n); in do_one_request()
/external/libnl/lib/route/
Dneigh.c340 struct ndmsg *nm; in rtnl_neigh_parse()
567 struct ndmsg nhdr = { in build_neigh_msg()
938 .co_hdrsize = sizeof(struct ndmsg),