/openbmc/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() 248 struct ndmsg *ndmsg; in mctp_rtm_getneigh() local 253 ndmsg = nlmsg_data(cb->nlh); in mctp_rtm_getneigh() 254 req_ifindex = ndmsg->ndm_ifindex; in mctp_rtm_getneigh()
|
/openbmc/phosphor-networkd/test/ |
H A D | test_rtnetlink.cpp | 125 alignas(NLMSG_ALIGNTO) ndmsg ndm = {}; in TEST() 135 alignas(NLMSG_ALIGNTO) ndmsg ndm; in TEST() 154 alignas(NLMSG_ALIGNTO) ndmsg ndm; in TEST()
|
/openbmc/linux/include/linux/ |
H A D | rtnetlink.h | 111 extern int ndo_dflt_fdb_add(struct ndmsg *ndm, 117 extern int ndo_dflt_fdb_del(struct ndmsg *ndm,
|
H A D | netdevice.h | 1555 int (*ndo_fdb_add)(struct ndmsg *ndm, 1562 int (*ndo_fdb_del)(struct ndmsg *ndm, 1567 int (*ndo_fdb_del_bulk)(struct ndmsg *ndm,
|
/openbmc/phosphor-networkd/src/ |
H A D | rtnetlink_server.cpp | 39 return extractRtData<ndmsg>(data).ndm_ifindex; in getIfIdx() 135 performRequest(NETLINK_ROUTE, RTM_GETNEIGH, NLM_F_DUMP, ndmsg{}, cb);
|
H A D | rtnetlink.cpp | 164 const auto& ndm = netlink::extractRtData<ndmsg>(msg); in neighFromRtm()
|
/openbmc/linux/include/uapi/linux/ |
H A D | neighbour.h | 8 struct ndmsg { struct
|
/openbmc/linux/net/bridge/ |
H A D | br_fdb.c | 107 struct ndmsg *ndm; in fdb_fill_info() 177 return NLMSG_ALIGN(sizeof(struct ndmsg)) in fdb_nlmsg_size() 664 int br_fdb_delete_bulk(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_delete_bulk() 1022 const u8 *addr, struct ndmsg *ndm, u16 flags, u16 vid, in fdb_add_entry() 1115 static int __br_fdb_add(struct ndmsg *ndm, struct net_bridge *br, in __br_fdb_add() 1158 int br_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_add() 1278 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_delete()
|
H A D | br_private.h | 848 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], 851 int br_fdb_delete_bulk(struct ndmsg *ndm, struct nlattr *tb[], 854 int br_fdb_add(struct ndmsg *nlh, struct nlattr *tb[], struct net_device *dev,
|
/openbmc/linux/net/ipv6/ |
H A D | ndisc.c | 1195 struct nduseroptmsg *ndmsg; in ndisc_ra_useropt() local 1213 ndmsg = nlmsg_data(nlh); in ndisc_ra_useropt() 1214 ndmsg->nduseropt_family = AF_INET6; in ndisc_ra_useropt() 1215 ndmsg->nduseropt_ifindex = ra->dev->ifindex; in ndisc_ra_useropt() 1216 ndmsg->nduseropt_icmp_type = icmp6h->icmp6_type; in ndisc_ra_useropt() 1217 ndmsg->nduseropt_icmp_code = icmp6h->icmp6_code; in ndisc_ra_useropt() 1218 ndmsg->nduseropt_opts_len = opt->nd_opt_len << 3; in ndisc_ra_useropt() 1220 memcpy(ndmsg + 1, opt, opt->nd_opt_len << 3); in ndisc_ra_useropt()
|
/openbmc/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()
|
/openbmc/linux/net/core/ |
H A D | neighbour.c | 1898 struct ndmsg *ndm; in neigh_delete() 1965 struct ndmsg *ndm; in neigh_add() 2569 struct ndmsg *ndm; in neigh_fill_info() 2630 struct ndmsg *ndm; in pneigh_fill_info() 2805 struct ndmsg *ndm; in neigh_valid_dump_req() 2824 err = nlmsg_parse_deprecated_strict(nlh, sizeof(struct ndmsg), in neigh_valid_dump_req() 2828 err = nlmsg_parse_deprecated(nlh, sizeof(struct ndmsg), tb, in neigh_valid_dump_req() 2871 if (nlmsg_len(nlh) >= sizeof(struct ndmsg) && in neigh_dump_info() 2872 ((struct ndmsg *)nlmsg_data(nlh))->ndm_flags == NTF_PROXY) in neigh_dump_info() 2910 struct ndmsg *ndm; in neigh_valid_get_req() [all …]
|
H A D | rtnetlink.c | 4130 struct ndmsg *ndm; in nlmsg_populate_fdb_fill() 4161 return NLMSG_ALIGN(sizeof(struct ndmsg)) + in rtnl_fdb_nlmsg_size() 4194 int ndo_dflt_fdb_add(struct ndmsg *ndm, in ndo_dflt_fdb_add() 4259 struct ndmsg *ndm; in rtnl_fdb_add() 4339 int ndo_dflt_fdb_del(struct ndmsg *ndm, in ndo_dflt_fdb_del() 4376 struct ndmsg *ndm; in rtnl_fdb_del() 4542 struct ndmsg *ndm; in valid_fdb_dump_strict() 4557 err = nlmsg_parse_deprecated_strict(nlh, sizeof(struct ndmsg), tb, in valid_fdb_dump_strict() 4605 if (nlmsg_len(nlh) != sizeof(struct ndmsg) && in valid_fdb_dump_legacy() 4606 (nlmsg_len(nlh) != sizeof(struct ndmsg) + in valid_fdb_dump_legacy() [all …]
|
/openbmc/linux/include/trace/events/ |
H A D | bridge.h | 14 TP_PROTO(struct ndmsg *ndm, struct net_device *dev,
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_net.c | 730 static int ocelot_port_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in ocelot_port_fdb_add() 744 static int ocelot_port_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in ocelot_port_fdb_del() 764 struct ndmsg *ndm; in ocelot_port_fdb_do_dump()
|
/openbmc/linux/drivers/net/ |
H A D | macvlan.c | 1022 static int macvlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_add() 1048 static int macvlan_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_del()
|
/openbmc/linux/drivers/net/vxlan/ |
H A D | vxlan_core.c | 160 struct ndmsg *ndm; in vxlan_fdb_info() 248 return NLMSG_ALIGN(sizeof(struct ndmsg)) in vxlan_nlmsg_size() 1245 static int vxlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in vxlan_fdb_add() 1321 static int vxlan_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], in vxlan_fdb_delete()
|
/openbmc/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()
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-switch.c | 787 struct ndmsg *ndm; in dpaa2_switch_fdb_dump_nl()
|
/openbmc/linux/net/dsa/ |
H A D | slave.c | 511 struct ndmsg *ndm; in dsa_slave_port_fdb_do_dump()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_main.c | 5900 ice_fdb_add(struct ndmsg *ndm, struct nlattr __always_unused *tb[], in ice_fdb_add() 5939 ice_fdb_del(struct ndmsg *ndm, __always_unused struct nlattr *tb[], in ice_fdb_del()
|
/openbmc/linux/drivers/net/ethernet/intel/igb/ |
H A D | igb_main.c | 2518 static int igb_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in igb_ndo_fdb_add()
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_main.c | 9927 static int ixgbe_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in ixgbe_ndo_fdb_add()
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_main.c | 13150 static int i40e_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in i40e_ndo_fdb_add()
|