Searched refs:ndmsg (Results 1 – 7 of 7) sorted by relevance
/net/dsa/ |
D | dsa_priv.h | 103 int dsa_legacy_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], 108 int dsa_legacy_fdb_del(struct ndmsg *ndm, struct nlattr *tb[],
|
D | slave.c | 193 struct ndmsg *ndm; in dsa_slave_port_fdb_do_dump() 1595 int dsa_legacy_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in dsa_legacy_fdb_add() 1606 int dsa_legacy_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in dsa_legacy_fdb_del()
|
/net/bridge/ |
D | br_fdb.c | 655 struct ndmsg *ndm; in fdb_fill_info() 719 return NLMSG_ALIGN(sizeof(struct ndmsg)) in fdb_nlmsg_size() 861 const u8 *addr, struct ndmsg *ndm, u16 flags, u16 vid, in fdb_add_entry() 951 static int __br_fdb_add(struct ndmsg *ndm, struct net_bridge *br, in __br_fdb_add() 994 int br_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_add() 1105 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_delete()
|
D | br_private.h | 698 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], 700 int br_fdb_add(struct ndmsg *nlh, struct nlattr *tb[], struct net_device *dev,
|
/net/ipv6/ |
D | ndisc.c | 1130 struct nduseroptmsg *ndmsg; in ndisc_ra_useropt() local 1148 ndmsg = nlmsg_data(nlh); in ndisc_ra_useropt() 1149 ndmsg->nduseropt_family = AF_INET6; in ndisc_ra_useropt() 1150 ndmsg->nduseropt_ifindex = ra->dev->ifindex; in ndisc_ra_useropt() 1151 ndmsg->nduseropt_icmp_type = icmp6h->icmp6_type; in ndisc_ra_useropt() 1152 ndmsg->nduseropt_icmp_code = icmp6h->icmp6_code; in ndisc_ra_useropt() 1153 ndmsg->nduseropt_opts_len = opt->nd_opt_len << 3; in ndisc_ra_useropt() 1155 memcpy(ndmsg + 1, opt, opt->nd_opt_len << 3); in ndisc_ra_useropt()
|
/net/core/ |
D | neighbour.c | 1810 struct ndmsg *ndm; in neigh_delete() 1877 struct ndmsg *ndm; in neigh_add() 2451 struct ndmsg *ndm; in neigh_fill_info() 2506 struct ndmsg *ndm; in pneigh_fill_info() 2669 struct ndmsg *ndm; in neigh_valid_dump_req() 2688 err = nlmsg_parse_deprecated_strict(nlh, sizeof(struct ndmsg), in neigh_valid_dump_req() 2692 err = nlmsg_parse_deprecated(nlh, sizeof(struct ndmsg), tb, in neigh_valid_dump_req() 2735 if (nlmsg_len(nlh) >= sizeof(struct ndmsg) && in neigh_dump_info() 2736 ((struct ndmsg *)nlmsg_data(nlh))->ndm_flags == NTF_PROXY) in neigh_dump_info() 2773 struct ndmsg *ndm; in neigh_valid_get_req() [all …]
|
D | rtnetlink.c | 3904 struct ndmsg *ndm; in nlmsg_populate_fdb_fill() 3935 return NLMSG_ALIGN(sizeof(struct ndmsg)) + in rtnl_fdb_nlmsg_size() 3968 int ndo_dflt_fdb_add(struct ndmsg *ndm, in ndo_dflt_fdb_add() 4028 struct ndmsg *ndm; in rtnl_fdb_add() 4108 int ndo_dflt_fdb_del(struct ndmsg *ndm, in ndo_dflt_fdb_del() 4136 struct ndmsg *ndm; in rtnl_fdb_del() 4281 struct ndmsg *ndm; in valid_fdb_dump_strict() 4296 err = nlmsg_parse_deprecated_strict(nlh, sizeof(struct ndmsg), tb, in valid_fdb_dump_strict() 4344 if (nlmsg_len(nlh) != sizeof(struct ndmsg) && in valid_fdb_dump_legacy() 4345 (nlmsg_len(nlh) != sizeof(struct ndmsg) + in valid_fdb_dump_legacy() [all …]
|