Searched refs:ndm (Results 1 - 4 of 4) sorted by relevance

/net/bridge/
H A Dbr_fdb.c510 struct ndmsg *ndm; local
512 nlh = nlmsg_put(skb, portid, seq, type, sizeof(*ndm), flags);
516 ndm = nlmsg_data(nlh);
517 ndm->ndm_family = AF_BRIDGE;
518 ndm->ndm_pad1 = 0;
519 ndm->ndm_pad2 = 0;
520 ndm->ndm_flags = 0;
521 ndm->ndm_type = 0;
522 ndm->ndm_ifindex = fdb->dst ? fdb->dst->dev->ifindex : br->dev->ifindex;
523 ndm
661 __br_fdb_add(struct ndmsg *ndm, struct net_bridge_port *p, const unsigned char *addr, u16 nlh_flags, u16 vid) argument
681 br_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, const unsigned char *addr, u16 nlh_flags) argument
775 br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, const unsigned char *addr) argument
[all...]
H A Dbr_private.h395 extern int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[],
/net/core/
H A Drtnetlink.c1979 struct ndmsg *ndm; local
1981 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), NLM_F_MULTI);
1985 ndm = nlmsg_data(nlh);
1986 ndm->ndm_family = AF_BRIDGE;
1987 ndm->ndm_pad1 = 0;
1988 ndm->ndm_pad2 = 0;
1989 ndm->ndm_flags = flags;
1990 ndm->ndm_type = 0;
1991 ndm->ndm_ifindex = dev->ifindex;
1992 ndm
2034 ndo_dflt_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, const unsigned char *addr, u16 flags) argument
2066 struct ndmsg *ndm; local
2135 ndo_dflt_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, const unsigned char *addr) argument
2164 struct ndmsg *ndm; local
[all...]
H A Dneighbour.c1613 struct ndmsg *ndm; local
1620 if (nlmsg_len(nlh) < sizeof(*ndm))
1623 dst_attr = nlmsg_find_attr(nlh, sizeof(*ndm), NDA_DST);
1627 ndm = nlmsg_data(nlh);
1628 if (ndm->ndm_ifindex) {
1629 dev = __dev_get_by_index(net, ndm->ndm_ifindex);
1640 if (tbl->family != ndm->ndm_family)
1647 if (ndm->ndm_flags & NTF_PROXY) {
1677 struct ndmsg *ndm; local
1684 err = nlmsg_parse(nlh, sizeof(*ndm), t
2136 struct ndmsg *ndm; local
2187 struct ndmsg *ndm; local
[all...]

Completed in 85 milliseconds