| /linux/net/mctp/ |
| H A D | neigh.c | 121 struct ndmsg *ndm; in mctp_rtm_newneigh() 180 struct ndmsg *ndm; in mctp_rtm_delneigh() 214 struct ndmsg *hdr; in mctp_fill_neigh() 249 struct ndmsg *ndmsg; in mctp_rtm_getneigh() local 254 ndmsg = nlmsg_payload(cb->nlh, sizeof(*ndmsg)); in mctp_rtm_getneigh() 255 if (!ndmsg) in mctp_rtm_getneigh() 258 req_ifindex = ndmsg->ndm_ifindex; in mctp_rtm_getneigh()
|
| /linux/include/linux/ |
| H A D | rtnetlink.h | 199 extern int ndo_dflt_fdb_add(struct ndmsg *ndm, 205 extern int ndo_dflt_fdb_del(struct ndmsg *ndm,
|
| H A D | netdevice.h | 1311 * int (*ndo_fdb_add)(struct ndmsg *ndm, struct nlattr *tb[], 1318 * int (*ndo_fdb_del)(struct ndmsg *ndm, struct nlattr *tb[], 1596 int (*ndo_fdb_add)(struct ndmsg *ndm, 1604 int (*ndo_fdb_del)(struct ndmsg *ndm,
|
| /linux/tools/testing/selftests/net/ |
| H A D | netlink-dumps.c | 92 struct ndmsg ndm; 167 sizeof(struct nlmsghdr) + sizeof(struct ndmsg)); in TEST()
|
| /linux/net/ipv6/ |
| H A D | ndisc.c | 1187 struct nduseroptmsg *ndmsg; in ndisc_ra_useropt() 1205 ndmsg = nlmsg_data(nlh); in ndisc_ra_useropt() 1206 ndmsg->nduseropt_family = AF_INET6; in ndisc_ra_useropt() 1207 ndmsg->nduseropt_ifindex = ra->dev->ifindex; in ndisc_ra_useropt() 1208 ndmsg->nduseropt_icmp_type = icmp6h->icmp6_type; in ndisc_ra_useropt() 1209 ndmsg->nduseropt_icmp_code = icmp6h->icmp6_code; in ndisc_ra_useropt() 1210 ndmsg->nduseropt_opts_len = opt->nd_opt_len << 3; in ndisc_ra_useropt() 1211 ndmsg->nduseropt_pad1 = 0; in ndisc_ra_useropt() 1212 ndmsg->nduseropt_pad2 = 0; in ndisc_ra_useropt() 1213 ndmsg in ndisc_ra_useropt() 1189 struct nduseroptmsg *ndmsg; ndisc_ra_useropt() local [all...] |
| /linux/include/uapi/linux/ |
| H A D | neighbour.h | 8 struct ndmsg { struct
|
| /linux/tools/include/uapi/linux/ |
| H A D | neighbour.h | 8 struct ndmsg { struct
|
| /linux/net/bridge/ |
| H A D | br_fdb.c | 97 struct ndmsg *ndm; in fdb_fill_info() 167 return NLMSG_ALIGN(sizeof(struct ndmsg)) in fdb_nlmsg_size() 799 struct ndmsg *ndm = nlmsg_data(nlh); in br_fdb_delete_bulk() 1149 const u8 *addr, struct ndmsg *ndm, u16 flags, u16 vid, in fdb_add_entry() 1245 static int __br_fdb_add(struct ndmsg *ndm, struct net_bridge *br, in __br_fdb_add() 1290 int br_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_add() 1411 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_delete()
|
| H A D | br_private.h | 867 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], 872 int br_fdb_add(struct ndmsg *nlh, struct nlattr *tb[], struct net_device *dev,
|
| /linux/samples/bpf/ |
| H A D | xdp_router_ipv4_user.c | 320 struct ndmsg *rt_msg; in read_arp() 334 rt_msg = (struct ndmsg *)NLMSG_DATA(nh); in read_arp() 399 struct ndmsg rt; in get_arp_table()
|
| /linux/net/core/ |
| H A D | neighbour.c | 1949 struct ndmsg *ndm; 2016 struct ndmsg *ndm; 2650 struct ndmsg *ndm; in __neigh_fill_info() 2721 struct ndmsg *ndm; 2882 struct ndmsg *ndm; in neigh_valid_dump_req() 2901 err = nlmsg_parse_deprecated_strict(nlh, sizeof(struct ndmsg), in neigh_valid_dump_req() 2905 err = nlmsg_parse_deprecated(nlh, sizeof(struct ndmsg), tb, in neigh_valid_dump_req() 2945 /* check for full ndmsg structure presence, family member is in neigh_dump_info() 2948 if (nlmsg_len(nlh) >= sizeof(struct ndmsg) && in neigh_dump_info() 2949 ((struct ndmsg *)nlmsg_dat in neigh_dump_info() [all...] |
| H A D | rtnetlink.c | 4593 struct ndmsg *ndm; in ndo_dflt_fdb_add() 4624 return NLMSG_ALIGN(sizeof(struct ndmsg)) + in fdb_vid_parse() 4657 int ndo_dflt_fdb_add(struct ndmsg *ndm, in rtnl_fdb_add() 4722 struct ndmsg *ndm; 4805 int ndo_dflt_fdb_del(struct ndmsg *ndm, in rtnl_fdb_del() 4835 struct ndmsg *ndm; in rtnl_fdb_del() 5004 struct ndmsg *ndm; in valid_fdb_dump_legacy() 5019 err = nlmsg_parse_deprecated_strict(nlh, sizeof(struct ndmsg), tb, in rtnl_fdb_dump() 5061 * Before Linux v4.12 this code accepted ndmsg since iproute2 v3.3.0. in rtnl_fdb_dump() 5062 * However, ndmsg i in rtnl_fdb_dump() [all...] |
| /linux/include/trace/events/ |
| H A D | bridge.h | 14 TP_PROTO(struct ndmsg *ndm, struct net_device *dev,
|
| /linux/drivers/net/ethernet/mscc/ |
| H A D | ocelot_net.c | 767 static int ocelot_port_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in ocelot_port_fdb_add() 781 static int ocelot_port_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in ocelot_port_fdb_del() 802 struct ndmsg *ndm; in ocelot_port_fdb_do_dump()
|
| /linux/drivers/net/vxlan/ |
| H A D | vxlan_core.c | 165 struct ndmsg *ndm; in vxlan_fdb_info() 253 return NLMSG_ALIGN(sizeof(struct ndmsg)) in vxlan_nlmsg_size() 1233 static int vxlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in vxlan_fdb_add() 1310 static int vxlan_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], in vxlan_fdb_delete() 3122 struct ndmsg *ndm = nlmsg_data(nlh); in vxlan_fdb_delete_bulk()
|
| /linux/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_main.c | 368 static int qlcnic_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in qlcnic_fdb_del() 394 static int qlcnic_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in qlcnic_fdb_add()
|
| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpaa2-switch.c | 836 struct ndmsg *ndm; in dpaa2_switch_fdb_iterate()
|
| /linux/net/dsa/ |
| H A D | user.c | 522 struct ndmsg *ndm; in dsa_user_port_fdb_do_dump()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_main.c | 6096 ice_fdb_add(struct ndmsg *ndm, struct nlattr __always_unused *tb[], 6137 ice_fdb_del(struct ndmsg *ndm, __always_unused struct nlattr *tb[],
|
| /linux/drivers/net/ethernet/intel/igb/ |
| H A D | igb_main.c | 2519 static int igb_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in igb_ndo_fdb_add()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_main.c | 10606 static int ixgbe_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[],
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_main.c | 13034 static int i40e_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in i40e_ndo_fdb_add()
|