Home
last modified time | relevance | path

Searched refs:ndm (Results 1 – 21 of 21) sorted by relevance

/OK3568_Linux_fs/kernel/net/bridge/
H A Dbr_fdb.c655 struct ndmsg *ndm; in fdb_fill_info() local
657 nlh = nlmsg_put(skb, portid, seq, type, sizeof(*ndm), flags); in fdb_fill_info()
661 ndm = nlmsg_data(nlh); in fdb_fill_info()
662 ndm->ndm_family = AF_BRIDGE; in fdb_fill_info()
663 ndm->ndm_pad1 = 0; in fdb_fill_info()
664 ndm->ndm_pad2 = 0; in fdb_fill_info()
665 ndm->ndm_flags = 0; in fdb_fill_info()
666 ndm->ndm_type = 0; in fdb_fill_info()
667 ndm->ndm_ifindex = fdb->dst ? fdb->dst->dev->ifindex : br->dev->ifindex; in fdb_fill_info()
668 ndm->ndm_state = fdb_to_nud(br, fdb); in fdb_fill_info()
[all …]
H A Dbr_private.h698 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[],
/OK3568_Linux_fs/kernel/net/core/
H A Dneighbour.c1821 struct ndmsg *ndm; in neigh_delete() local
1829 if (nlmsg_len(nlh) < sizeof(*ndm)) in neigh_delete()
1832 dst_attr = nlmsg_find_attr(nlh, sizeof(*ndm), NDA_DST); in neigh_delete()
1838 ndm = nlmsg_data(nlh); in neigh_delete()
1839 if (ndm->ndm_ifindex) { in neigh_delete()
1840 dev = __dev_get_by_index(net, ndm->ndm_ifindex); in neigh_delete()
1847 tbl = neigh_find_table(ndm->ndm_family); in neigh_delete()
1856 if (ndm->ndm_flags & NTF_PROXY) { in neigh_delete()
1888 struct ndmsg *ndm; in neigh_add() local
1898 err = nlmsg_parse_deprecated(nlh, sizeof(*ndm), tb, NDA_MAX, in neigh_add()
[all …]
H A Drtnetlink.c3871 struct ndmsg *ndm; in nlmsg_populate_fdb_fill() local
3873 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), nlflags); in nlmsg_populate_fdb_fill()
3877 ndm = nlmsg_data(nlh); in nlmsg_populate_fdb_fill()
3878 ndm->ndm_family = AF_BRIDGE; in nlmsg_populate_fdb_fill()
3879 ndm->ndm_pad1 = 0; in nlmsg_populate_fdb_fill()
3880 ndm->ndm_pad2 = 0; in nlmsg_populate_fdb_fill()
3881 ndm->ndm_flags = flags; in nlmsg_populate_fdb_fill()
3882 ndm->ndm_type = 0; in nlmsg_populate_fdb_fill()
3883 ndm->ndm_ifindex = dev->ifindex; in nlmsg_populate_fdb_fill()
3884 ndm->ndm_state = ndm_state; in nlmsg_populate_fdb_fill()
[all …]
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dbridge.h14 TP_PROTO(struct ndmsg *ndm, struct net_device *dev,
17 TP_ARGS(ndm, dev, addr, vid, nlh_flags),
32 __entry->ndm_flags = ndm->ndm_flags;
/OK3568_Linux_fs/kernel/include/linux/
H A Drtnetlink.h118 extern int ndo_dflt_fdb_add(struct ndmsg *ndm,
124 extern int ndo_dflt_fdb_del(struct ndmsg *ndm,
H A Dnetdevice.h1455 int (*ndo_fdb_add)(struct ndmsg *ndm,
1462 int (*ndo_fdb_del)(struct ndmsg *ndm,
/OK3568_Linux_fs/kernel/drivers/staging/fsl-dpaa2/ethsw/
H A Dethsw.c336 static int dpaa2_switch_port_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in dpaa2_switch_port_fdb_add() argument
349 static int dpaa2_switch_port_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in dpaa2_switch_port_fdb_del() argument
602 struct ndmsg *ndm; in dpaa2_switch_fdb_dump_nl() local
608 sizeof(*ndm), NLM_F_MULTI); in dpaa2_switch_fdb_dump_nl()
612 ndm = nlmsg_data(nlh); in dpaa2_switch_fdb_dump_nl()
613 ndm->ndm_family = AF_BRIDGE; in dpaa2_switch_fdb_dump_nl()
614 ndm->ndm_pad1 = 0; in dpaa2_switch_fdb_dump_nl()
615 ndm->ndm_pad2 = 0; in dpaa2_switch_fdb_dump_nl()
616 ndm->ndm_flags = NTF_SELF; in dpaa2_switch_fdb_dump_nl()
617 ndm->ndm_type = 0; in dpaa2_switch_fdb_dump_nl()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mscc/
H A Docelot.c655 struct ndmsg *ndm; in ocelot_port_fdb_do_dump() local
661 sizeof(*ndm), NLM_F_MULTI); in ocelot_port_fdb_do_dump()
665 ndm = nlmsg_data(nlh); in ocelot_port_fdb_do_dump()
666 ndm->ndm_family = AF_BRIDGE; in ocelot_port_fdb_do_dump()
667 ndm->ndm_pad1 = 0; in ocelot_port_fdb_do_dump()
668 ndm->ndm_pad2 = 0; in ocelot_port_fdb_do_dump()
669 ndm->ndm_flags = NTF_SELF; in ocelot_port_fdb_do_dump()
670 ndm->ndm_type = 0; in ocelot_port_fdb_do_dump()
671 ndm->ndm_ifindex = dump->dev->ifindex; in ocelot_port_fdb_do_dump()
672 ndm->ndm_state = is_static ? NUD_NOARP : NUD_REACHABLE; in ocelot_port_fdb_do_dump()
H A Docelot_net.c513 static int ocelot_port_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in ocelot_port_fdb_add() argument
526 static int ocelot_port_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in ocelot_port_fdb_del() argument
/OK3568_Linux_fs/kernel/net/dsa/
H A Dslave.c193 struct ndmsg *ndm; in dsa_slave_port_fdb_do_dump() local
199 sizeof(*ndm), NLM_F_MULTI); in dsa_slave_port_fdb_do_dump()
203 ndm = nlmsg_data(nlh); in dsa_slave_port_fdb_do_dump()
204 ndm->ndm_family = AF_BRIDGE; in dsa_slave_port_fdb_do_dump()
205 ndm->ndm_pad1 = 0; in dsa_slave_port_fdb_do_dump()
206 ndm->ndm_pad2 = 0; in dsa_slave_port_fdb_do_dump()
207 ndm->ndm_flags = NTF_SELF; in dsa_slave_port_fdb_do_dump()
208 ndm->ndm_type = 0; in dsa_slave_port_fdb_do_dump()
209 ndm->ndm_ifindex = dump->dev->ifindex; in dsa_slave_port_fdb_do_dump()
210 ndm->ndm_state = is_static ? NUD_NOARP : NUD_REACHABLE; in dsa_slave_port_fdb_do_dump()
[all …]
H A Ddsa_priv.h103 int dsa_legacy_fdb_add(struct ndmsg *ndm, struct nlattr *tb[],
108 int dsa_legacy_fdb_del(struct ndmsg *ndm, struct nlattr *tb[],
/OK3568_Linux_fs/kernel/drivers/net/
H A Dvxlan.c266 struct ndmsg *ndm; in vxlan_fdb_info() local
270 nlh = nlmsg_put(skb, portid, seq, type, sizeof(*ndm), flags); in vxlan_fdb_info()
274 ndm = nlmsg_data(nlh); in vxlan_fdb_info()
275 memset(ndm, 0, sizeof(*ndm)); in vxlan_fdb_info()
290 ndm->ndm_family = send_ip ? rdst->remote_ip.sa.sa_family : AF_INET; in vxlan_fdb_info()
292 ndm->ndm_family = nh_family; in vxlan_fdb_info()
296 ndm->ndm_family = AF_BRIDGE; in vxlan_fdb_info()
297 ndm->ndm_state = fdb->state; in vxlan_fdb_info()
298 ndm->ndm_ifindex = vxlan->dev->ifindex; in vxlan_fdb_info()
299 ndm->ndm_flags = fdb->flags; in vxlan_fdb_info()
[all …]
H A Dmacvlan.c987 static int macvlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_add() argument
1013 static int macvlan_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_del() argument
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_main.c371 static int qlcnic_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in qlcnic_fdb_del() argument
379 return ndo_dflt_fdb_del(ndm, tb, netdev, addr, vid); in qlcnic_fdb_del()
396 static int qlcnic_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in qlcnic_fdb_add() argument
405 return ndo_dflt_fdb_add(ndm, tb, netdev, addr, vid, flags); in qlcnic_fdb_add()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/
H A Dice_main.c5050 ice_fdb_add(struct ndmsg *ndm, struct nlattr __always_unused *tb[], in ice_fdb_add() argument
5060 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in ice_fdb_add()
5088 ice_fdb_del(struct ndmsg *ndm, __always_unused struct nlattr *tb[], in ice_fdb_del() argument
5094 if (ndm->ndm_state & NUD_PERMANENT) { in ice_fdb_del()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igb/
H A Digb_main.c2487 static int igb_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in igb_ndo_fdb_add() argument
2502 return ndo_dflt_fdb_add(ndm, tb, dev, addr, vid, flags); in igb_ndo_fdb_add()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c12444 static int i40e_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in i40e_ndo_fdb_add() argument
12465 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in i40e_ndo_fdb_add()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c9811 static int ixgbe_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in ixgbe_ndo_fdb_add() argument
9826 return ndo_dflt_fdb_add(ndm, tb, dev, addr, vid, flags); in ixgbe_ndo_fdb_add()
/OK3568_Linux_fs/device/rockchip/common/images/userdata/userdata_normal/media/
H A Dyuv420_p352x288.yuv2021 …iZd�����������������������vg|�|���}kVq������������������wW����T3q��������~ndm�����������������X7<…
/OK3568_Linux_fs/recovery/
HDrootfs.cpio.gz107070100A8AEB0000041ED0000000000000000000000116841B48100000000000000FD0000000200000000000000000000000200000000.�07070100A8B07C000081A40000000000000000000000016841263500000000000000FD0000000200000000000000000000000900000000.gitkeep��07070100A8B07D000081A40000000000000000000000016841263500000000000000FD0000000200000000000000000000000B00000000.skip_fsck����07070100A8AEB10000A1FF0000000000000000000000016841B0B600000007000000FD0000000200000000000000000000000400000000bin���usr/bin�07070100A8B07E000081A400000000000000000000000168412635000001CC000000FD0000000200000000000000000000001100000000busybox. ...