Searched refs:ndmsg (Results 1 – 6 of 6) sorted by relevance
/freebsd/usr.sbin/arp/ |
H A D | arp_netlink.c | 281 struct ndmsg *ndmsg = snl_reserve_msg_object(&nw, struct ndmsg); in print_entries_nl() local 282 if (ndmsg != NULL) { in print_entries_nl() 283 ndmsg->ndm_family = AF_INET; in print_entries_nl() 285 ndmsg->ndm_ifindex = ifindex; in print_entries_nl() 351 struct ndmsg *ndmsg = snl_reserve_msg_object(&nw, struct ndmsg); in delete_nl() local 352 if (ndmsg != NULL) { in delete_nl() 353 ndmsg->ndm_family = AF_INET; in delete_nl() 396 struct ndmsg *ndmsg = snl_reserve_msg_object(&nw, struct ndmsg); in set_nl() local 397 if (ndmsg != NULL) { in set_nl() 400 ndmsg->ndm_family = AF_INET; in set_nl() [all …]
|
/freebsd/usr.sbin/ndp/ |
H A D | ndp_netlink.c | 324 struct ndmsg *ndmsg = snl_reserve_msg_object(&nw, struct ndmsg); in print_entries_nl() local 325 if (ndmsg != NULL) { in print_entries_nl() 326 ndmsg->ndm_family = AF_INET6; in print_entries_nl() 327 ndmsg->ndm_ifindex = ifindex; in print_entries_nl() 419 struct ndmsg *ndmsg = snl_reserve_msg_object(&nw, struct ndmsg); in delete_nl() local 420 if (ndmsg != NULL) { in delete_nl() 421 ndmsg->ndm_family = AF_INET6; in delete_nl() 422 ndmsg->ndm_ifindex = ifindex; in delete_nl() 484 struct ndmsg *ndmsg = snl_reserve_msg_object(&nw, struct ndmsg); in set_nl() local 485 if (ndmsg != NULL) { in set_nl() [all …]
|
/freebsd/sys/compat/linux/ |
H A D | linux_netlink.c | 78 struct ndmsg *ndm = (struct ndmsg *)(hdr + 1); in rtnl_neigh_from_linux() 81 if (hdr->nlmsg_len < sizeof(struct nlmsghdr) + sizeof(struct ndmsg)) in rtnl_neigh_from_linux() 417 struct ndmsg *ndm; in rtnl_newneigh_to_linux() 418 ndm = nlmsg_copy_next_header(hdr, nw, struct ndmsg); in rtnl_newneigh_to_linux() 423 if (!nlmsg_copy_all_nla(hdr, sizeof(struct ndmsg), nw)) in rtnl_newneigh_to_linux()
|
/freebsd/sys/netlink/route/ |
H A D | neigh.c | 139 struct ndmsg *ndm; in dump_lle_locked() 153 if (!nlmsg_reply(nw, hdr, sizeof(struct ndmsg))) in dump_lle_locked() 156 ndm = nlmsg_reserve_object(nw, struct ndmsg); in dump_lle_locked() 317 #define _IN(_field) offsetof(struct ndmsg, _field) 349 NL_DECLARE_PARSER_EXT(ndmsg_parser, struct ndmsg, NULL, nlf_p_neigh, nla_p_neigh, post_p_neigh);
|
H A D | neigh.h | 36 struct ndmsg { struct
|
/freebsd/sys/netlink/ |
H A D | netlink_snl_route_parsers.h | 256 #define _IN(_field) offsetof(struct ndmsg, _field) 287 SNL_DECLARE_PARSER_EXT(snl_rtm_neigh_parser, sizeof(struct ndmsg),
|