/kernel/linux/linux-6.6/net/bridge/ |
H A D | br_fdb.c | 121 ndm->ndm_state = fdb_to_nud(br, fdb); in fdb_fill_info() 604 static unsigned long __ndm_state_to_fdb_flags(u16 ndm_state) in __ndm_state_to_fdb_flags() argument 608 if (ndm_state & NUD_PERMANENT) in __ndm_state_to_fdb_flags() 610 if (ndm_state & NUD_NOARP) in __ndm_state_to_fdb_flags() 688 if (ndm->ndm_state & ~FDB_FLUSH_ALLOWED_NDM_STATES) { in br_fdb_delete_bulk() 693 desc.flags |= __ndm_state_to_fdb_flags(ndm->ndm_state); in br_fdb_delete_bulk() 1028 u16 state = ndm->ndm_state; in fdb_add_entry() 1137 if (!p && !(ndm->ndm_state & NUD_PERMANENT)) { in __br_fdb_add() 1173 if (!(ndm->ndm_state & (NUD_PERMANENT|NUD_NOARP|NUD_REACHABLE))) { in br_fdb_add() 1174 pr_info("bridge: RTM_NEWNEIGH with invalid state %#x\n", ndm->ndm_state); in br_fdb_add() [all...] |
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | neighbour.h | 15 __u16 ndm_state; member
|
/kernel/linux/linux-6.6/net/mctp/ |
H A D | neigh.c | 223 hdr->ndm_state = 0; // TODO other state bits? in mctp_fill_neigh() 225 hdr->ndm_state |= NUD_PERMANENT; in mctp_fill_neigh()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | neighbour.h | 13 __u16 ndm_state; member
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | neighbour.h | 13 __u16 ndm_state; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | neighbour.h | 28 __u16 ndm_state; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | neighbour.h | 28 __u16 ndm_state; member
|
/kernel/linux/linux-5.10/net/bridge/ |
H A D | br_fdb.c | 668 ndm->ndm_state = fdb_to_nud(br, fdb); in fdb_fill_info() 867 u16 state = ndm->ndm_state; in fdb_add_entry() 973 if (!p && !(ndm->ndm_state & NUD_PERMANENT)) { in __br_fdb_add() 1008 if (!(ndm->ndm_state & (NUD_PERMANENT|NUD_NOARP|NUD_REACHABLE))) { in br_fdb_add() 1009 pr_info("bridge: RTM_NEWNEIGH with invalid state %#x\n", ndm->ndm_state); in br_fdb_add()
|
/kernel/linux/linux-5.10/net/core/ |
H A D | rtnetlink.c | 3901 int nlflags, u16 ndm_state) in nlmsg_populate_fdb_fill() 3917 ndm->ndm_state = ndm_state; in nlmsg_populate_fdb_fill() 3942 u16 ndm_state) in rtnl_fdb_notify() 3953 0, 0, type, NTF_SELF, 0, ndm_state); in rtnl_fdb_notify() 3979 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in ndo_dflt_fdb_add() 4097 ndm->ndm_state); in rtnl_fdb_add() 4118 if (!(ndm->ndm_state & NUD_PERMANENT)) { in ndo_dflt_fdb_del() 4206 ndm->ndm_state); in rtnl_fdb_del() 3897 nlmsg_populate_fdb_fill(struct sk_buff *skb, struct net_device *dev, u8 *addr, u16 vid, u32 pid, u32 seq, int type, unsigned int flags, int nlflags, u16 ndm_state) nlmsg_populate_fdb_fill() argument 3941 rtnl_fdb_notify(struct net_device *dev, u8 *addr, u16 vid, int type, u16 ndm_state) rtnl_fdb_notify() argument [all...] |
H A D | neighbour.c | 1965 exempt_from_gc = ndm->ndm_state & NUD_PERMANENT || in neigh_add() 1995 err = __neigh_update(neigh, lladdr, ndm->ndm_state, flags, in neigh_add() 2474 ndm->ndm_state = neigh->nud_state; in neigh_fill_info() 2524 ndm->ndm_state = NUD_NONE; in pneigh_fill_info() 2683 ndm->ndm_state || ndm->ndm_type) { in neigh_valid_dump_req() 2787 if (ndm->ndm_pad1 || ndm->ndm_pad2 || ndm->ndm_state || in neigh_valid_get_req()
|
/kernel/linux/linux-6.6/net/core/ |
H A D | rtnetlink.c | 4098 int nlflags, u16 ndm_state) in nlmsg_populate_fdb_fill() 4114 ndm->ndm_state = ndm_state; in nlmsg_populate_fdb_fill() 4139 u16 ndm_state) in rtnl_fdb_notify() 4150 0, 0, type, NTF_SELF, 0, ndm_state); in rtnl_fdb_notify() 4176 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in ndo_dflt_fdb_add() 4299 ndm->ndm_state); in rtnl_fdb_add() 4320 if (!(ndm->ndm_state & NUD_PERMANENT)) { in ndo_dflt_fdb_del() 4438 ndm->ndm_state); in rtnl_fdb_del() 4094 nlmsg_populate_fdb_fill(struct sk_buff *skb, struct net_device *dev, u8 *addr, u16 vid, u32 pid, u32 seq, int type, unsigned int flags, int nlflags, u16 ndm_state) nlmsg_populate_fdb_fill() argument 4138 rtnl_fdb_notify(struct net_device *dev, u8 *addr, u16 vid, int type, u16 ndm_state) rtnl_fdb_notify() argument [all...] |
H A D | neighbour.c | 2055 bool ndm_permanent = ndm->ndm_state & NUD_PERMANENT; in neigh_add() 2100 err = __neigh_update(neigh, lladdr, ndm->ndm_state, flags, in neigh_add() 2590 ndm->ndm_state = neigh->nud_state; in neigh_fill_info() 2646 ndm->ndm_state = NUD_NONE; in pneigh_fill_info() 2814 ndm->ndm_state || ndm->ndm_type) { in neigh_valid_dump_req() 2918 if (ndm->ndm_pad1 || ndm->ndm_pad2 || ndm->ndm_state || in neigh_valid_get_req()
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | xdp_router_ipv4_user.c | 419 req.rt.ndm_state = NUD_REACHABLE; in get_arp_table()
|
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | xdp_router_ipv4_user.c | 483 req.rt.ndm_state = NUD_REACHABLE; in get_arp_table()
|
/kernel/linux/linux-5.10/drivers/net/vxlan/ |
H A D | vxlan_core.c | 79 u16 state; /* see ndm_state */ 297 ndm->ndm_state = fdb->state; in vxlan_fdb_info() 1306 if (!(ndm->ndm_state & (NUD_PERMANENT|NUD_REACHABLE))) { in vxlan_fdb_add() 1308 ndm->ndm_state); in vxlan_fdb_add() 1325 err = vxlan_fdb_update(vxlan, addr, &ip, ndm->ndm_state, flags, in vxlan_fdb_add()
|
/kernel/linux/linux-6.6/drivers/net/vxlan/ |
H A D | vxlan_core.c | 191 ndm->ndm_state = fdb->state; in vxlan_fdb_info() 1259 if (!(ndm->ndm_state & (NUD_PERMANENT|NUD_REACHABLE))) { in vxlan_fdb_add() 1261 ndm->ndm_state); in vxlan_fdb_add() 1278 err = vxlan_fdb_update(vxlan, addr, &ip, ndm->ndm_state, flags, in vxlan_fdb_add()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/ |
H A D | ocelot.c | 672 ndm->ndm_state = is_static ? NUD_NOARP : NUD_REACHABLE; in ocelot_port_fdb_do_dump()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
H A D | ice_main.c | 5076 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in ice_fdb_add() 5110 if (ndm->ndm_state & NUD_PERMANENT) { in ice_fdb_del()
|
/kernel/linux/linux-5.10/net/dsa/ |
H A D | slave.c | 210 ndm->ndm_state = is_static ? NUD_NOARP : NUD_REACHABLE; in dsa_slave_port_fdb_do_dump()
|
/kernel/linux/linux-5.10/drivers/staging/fsl-dpaa2/ethsw/ |
H A D | ethsw.c | 619 ndm->ndm_state = is_dynamic ? NUD_REACHABLE : NUD_NOARP; in dpaa2_switch_fdb_dump_nl()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mscc/ |
H A D | ocelot_net.c | 781 ndm->ndm_state = is_static ? NUD_NOARP : NUD_REACHABLE; in ocelot_port_fdb_do_dump()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_main.c | 5873 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in ice_fdb_add() 5908 if (ndm->ndm_state & NUD_PERMANENT) { in ice_fdb_del()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-switch.c | 804 ndm->ndm_state = is_dynamic ? NUD_REACHABLE : NUD_NOARP; in dpaa2_switch_fdb_dump_nl()
|
/kernel/linux/linux-6.6/net/dsa/ |
H A D | slave.c | 528 ndm->ndm_state = is_static ? NUD_NOARP : NUD_REACHABLE; in dsa_slave_port_fdb_do_dump()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_main.c | 12472 * ndm_state is given only allow permanent addresses in i40e_ndo_fdb_add() 12474 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in i40e_ndo_fdb_add()
|