Home
last modified time | relevance | path

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

/freebsd/usr.sbin/arp/
H A Darp_netlink.c290 struct ndmsg *ndmsg = snl_reserve_msg_object(&nw, struct ndmsg); in print_entries_nl() local
291 if (ndmsg != NULL) { in print_entries_nl()
292 ndmsg->ndm_family = AF_INET; in print_entries_nl()
294 ndmsg->ndm_ifindex = ifindex; in print_entries_nl()
361 struct ndmsg *ndmsg = snl_reserve_msg_object(&nw, struct ndmsg); in delete_nl() local
362 if (ndmsg != NULL) { in delete_nl()
363 ndmsg->ndm_family = AF_INET; in delete_nl()
364 ndmsg->ndm_ifindex = ifindex; in delete_nl()
407 struct ndmsg *ndmsg = snl_reserve_msg_object(&nw, struct ndmsg); in set_nl() local
408 if (ndmsg != NULL) { in set_nl()
[all …]
/freebsd/usr.sbin/ndp/
H A Dndp_netlink.c318 struct ndmsg *ndmsg; in print_entries_nl() local
334 ndmsg = snl_reserve_msg_object(&nw, struct ndmsg); in print_entries_nl()
335 if (ndmsg != NULL) { in print_entries_nl()
336 ndmsg->ndm_family = AF_INET6; in print_entries_nl()
337 ndmsg->ndm_ifindex = ifindex; in print_entries_nl()
427 struct ndmsg *ndmsg = snl_reserve_msg_object(&nw, struct ndmsg); in delete_nl() local
428 if (ndmsg != NULL) { in delete_nl()
429 ndmsg->ndm_family = AF_INET6; in delete_nl()
430 ndmsg->ndm_ifindex = ifindex; in delete_nl()
492 struct ndmsg *ndmsg = snl_reserve_msg_object(&nw, struct ndmsg); in set_nl() local
[all …]
/freebsd/sys/compat/linux/
H A Dlinux_netlink.c78 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 Dneigh.c138 struct ndmsg *ndm; in dump_lle_locked()
152 if (!nlmsg_reply(nw, hdr, sizeof(struct ndmsg))) in dump_lle_locked()
155 ndm = nlmsg_reserve_object(nw, struct ndmsg); in dump_lle_locked()
316 #define _IN(_field) offsetof(struct ndmsg, _field)
348 NL_DECLARE_PARSER_EXT(ndmsg_parser, struct ndmsg, NULL, nlf_p_neigh, nla_p_neigh, post_p_neigh);
H A Dneigh.h36 struct ndmsg { struct
/freebsd/sys/netlink/
H A Dnetlink_snl_route_parsers.h256 #define _IN(_field) offsetof(struct ndmsg, _field)
287 SNL_DECLARE_PARSER_EXT(snl_rtm_neigh_parser, sizeof(struct ndmsg),
/freebsd/contrib/wpa/src/drivers/
H A Ddriver_nl80211.c5871 struct ndmsg nhdr = { in rtnl_neigh_delete_fdb_entry()
12201 struct ndmsg nhdr = { in wpa_driver_br_add_ip_neigh()
12265 struct ndmsg nhdr = { in wpa_driver_br_delete_ip_neigh()