| /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/tools/testing/selftests/net/ |
| H A D | netlink-dumps.c | 92 struct ndmsg ndm; 167 sizeof(struct nlmsghdr) + sizeof(struct ndmsg)); in TEST()
|
| /linux/include/linux/ |
| H A D | rtnetlink.h | 207 extern int ndo_dflt_fdb_add(struct ndmsg *ndm, 213 extern int ndo_dflt_fdb_del(struct ndmsg *ndm,
|
| H A D | netdevice.h | 1605 int (*ndo_fdb_add)(struct ndmsg *ndm, 1613 int (*ndo_fdb_del)(struct ndmsg *ndm,
|
| /linux/net/ipv6/ |
| H A D | ndisc.c | 1188 struct nduseroptmsg *ndmsg; in ndisc_ra_useropt() local 1206 ndmsg = nlmsg_data(nlh); in ndisc_ra_useropt() 1207 ndmsg->nduseropt_family = AF_INET6; in ndisc_ra_useropt() 1208 ndmsg->nduseropt_ifindex = ra->dev->ifindex; in ndisc_ra_useropt() 1209 ndmsg->nduseropt_icmp_type = icmp6h->icmp6_type; in ndisc_ra_useropt() 1210 ndmsg->nduseropt_icmp_code = icmp6h->icmp6_code; in ndisc_ra_useropt() 1211 ndmsg->nduseropt_opts_len = opt->nd_opt_len << 3; in ndisc_ra_useropt() 1212 ndmsg->nduseropt_pad1 = 0; in ndisc_ra_useropt() 1213 ndmsg->nduseropt_pad2 = 0; in ndisc_ra_useropt() 1214 ndmsg->nduseropt_pad3 = 0; in ndisc_ra_useropt() [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/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/include/trace/events/ |
| H A D | bridge.h | 14 TP_PROTO(struct ndmsg *ndm, struct net_device *dev,
|
| /linux/net/core/ |
| H A D | rtnetlink.c | 4649 struct ndmsg *ndm; in nlmsg_populate_fdb_fill() 4680 return NLMSG_ALIGN(sizeof(struct ndmsg)) + in rtnl_fdb_nlmsg_size() 4713 int ndo_dflt_fdb_add(struct ndmsg *ndm, in ndo_dflt_fdb_add() 4778 struct ndmsg *ndm; in rtnl_fdb_add() 4861 int ndo_dflt_fdb_del(struct ndmsg *ndm, in ndo_dflt_fdb_del() 4891 struct ndmsg *ndm; in rtnl_fdb_del() 5060 struct ndmsg *ndm; in valid_fdb_dump_strict() 5075 err = nlmsg_parse_deprecated_strict(nlh, sizeof(struct ndmsg), tb, in valid_fdb_dump_strict() 5123 if (nlmsg_len(nlh) != sizeof(struct ndmsg) && in valid_fdb_dump_legacy() 5124 (nlmsg_len(nlh) != sizeof(struct ndmsg) + in valid_fdb_dump_legacy() [all …]
|
| /linux/drivers/net/ |
| H A D | macvlan.c | 1045 static int macvlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_add() 1071 static int macvlan_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_del()
|
| /linux/net/bridge/ |
| H A D | br_private.h | 871 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], 876 int br_fdb_add(struct ndmsg *nlh, struct nlattr *tb[], struct net_device *dev,
|
| /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/net/dsa/ |
| H A D | user.c | 523 struct ndmsg *ndm; in dsa_user_port_fdb_do_dump()
|
| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpaa2-switch.c | 962 struct ndmsg *ndm; in dpaa2_switch_fdb_dump_nl()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_main.c | 6106 ice_fdb_add(struct ndmsg *ndm, struct nlattr __always_unused *tb[], in ice_fdb_add() 6147 ice_fdb_del(struct ndmsg *ndm, __always_unused struct nlattr *tb[], in ice_fdb_del()
|
| /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 | 10607 static int ixgbe_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in ixgbe_ndo_fdb_add()
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_main.c | 13028 static int i40e_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in i40e_ndo_fdb_add()
|