Home
last modified time | relevance | path

Searched refs:ndmsg (Results 1 – 19 of 19) 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/
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-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/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/libnl/include/linux-private/linux/
Dneighbour.h8 struct ndmsg { struct
/external/iproute2/include/uapi/linux/
Dneighbour.h8 struct ndmsg { struct
/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/kernel-headers/original/uapi/linux/
Dneighbour.h8 struct ndmsg { struct
/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.c357 struct ndmsg *nm; in rtnl_neigh_parse()
693 struct ndmsg nhdr = { in build_neigh_msg()
1100 .co_hdrsize = sizeof(struct ndmsg),
/external/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v1.abi26076 …<class-decl name="ndmsg" size-in-bits="96" is-struct="yes" visibility="default" filepath="include/…
Dtest-PR27569-v0.abi26048 …<class-decl name="ndmsg" size-in-bits="96" is-struct="yes" visibility="default" filepath="include/…