Searched refs:ndmsg (Results 1 – 7 of 7) sorted by relevance
/net/dsa/ |
D | dsa_priv.h | 92 int dsa_legacy_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], 97 int dsa_legacy_fdb_del(struct ndmsg *ndm, struct nlattr *tb[],
|
D | slave.c | 198 struct ndmsg *ndm; in dsa_slave_port_fdb_do_dump() 1199 int dsa_legacy_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in dsa_legacy_fdb_add() 1210 int dsa_legacy_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in dsa_legacy_fdb_del()
|
/net/ipv6/ |
D | ndisc.c | 1128 struct nduseroptmsg *ndmsg; in ndisc_ra_useropt() local 1146 ndmsg = nlmsg_data(nlh); in ndisc_ra_useropt() 1147 ndmsg->nduseropt_family = AF_INET6; in ndisc_ra_useropt() 1148 ndmsg->nduseropt_ifindex = ra->dev->ifindex; in ndisc_ra_useropt() 1149 ndmsg->nduseropt_icmp_type = icmp6h->icmp6_type; in ndisc_ra_useropt() 1150 ndmsg->nduseropt_icmp_code = icmp6h->icmp6_code; in ndisc_ra_useropt() 1151 ndmsg->nduseropt_opts_len = opt->nd_opt_len << 3; in ndisc_ra_useropt() 1153 memcpy(ndmsg + 1, opt, opt->nd_opt_len << 3); in ndisc_ra_useropt()
|
/net/bridge/ |
D | br_fdb.c | 636 struct ndmsg *ndm; in fdb_fill_info() 683 return NLMSG_ALIGN(sizeof(struct ndmsg)) in fdb_nlmsg_size() 881 static int __br_fdb_add(struct ndmsg *ndm, struct net_bridge *br, in __br_fdb_add() 911 int br_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_add() 1008 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_delete()
|
D | br_private.h | 571 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], 573 int br_fdb_add(struct ndmsg *nlh, struct nlattr *tb[], struct net_device *dev,
|
/net/core/ |
D | neighbour.c | 1803 struct ndmsg *ndm; in neigh_delete() 1870 struct ndmsg *ndm; in neigh_add() 2444 struct ndmsg *ndm; in neigh_fill_info() 2499 struct ndmsg *ndm; in pneigh_fill_info() 2662 struct ndmsg *ndm; in neigh_valid_dump_req() 2681 err = nlmsg_parse_deprecated_strict(nlh, sizeof(struct ndmsg), in neigh_valid_dump_req() 2685 err = nlmsg_parse_deprecated(nlh, sizeof(struct ndmsg), tb, in neigh_valid_dump_req() 2728 if (nlmsg_len(nlh) >= sizeof(struct ndmsg) && in neigh_dump_info() 2729 ((struct ndmsg *)nlmsg_data(nlh))->ndm_flags == NTF_PROXY) in neigh_dump_info() 2766 struct ndmsg *ndm; in neigh_valid_get_req() [all …]
|
D | rtnetlink.c | 3591 struct ndmsg *ndm; in nlmsg_populate_fdb_fill() 3622 return NLMSG_ALIGN(sizeof(struct ndmsg)) + in rtnl_fdb_nlmsg_size() 3655 int ndo_dflt_fdb_add(struct ndmsg *ndm, in ndo_dflt_fdb_add() 3715 struct ndmsg *ndm; in rtnl_fdb_add() 3795 int ndo_dflt_fdb_del(struct ndmsg *ndm, in ndo_dflt_fdb_del() 3823 struct ndmsg *ndm; in rtnl_fdb_del() 3968 struct ndmsg *ndm; in valid_fdb_dump_strict() 3983 err = nlmsg_parse_deprecated_strict(nlh, sizeof(struct ndmsg), tb, in valid_fdb_dump_strict() 4031 if (nlmsg_len(nlh) != sizeof(struct ndmsg) && in valid_fdb_dump_legacy() 4032 (nlmsg_len(nlh) != sizeof(struct ndmsg) + in valid_fdb_dump_legacy() [all …]
|