Home
last modified time | relevance | path

Searched refs:nlflags (Results 1 - 25 of 43) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/net/vxlan/
H A Dvxlan_mdb.c71 u16 nlflags; member
606 cfg->nlflags = nlmsg_flags; in vxlan_mdb_config_init()
798 sg_cfg.nlflags = cfg->nlflags; in vxlan_mdb_remote_src_fwd_add()
841 } else if (!(cfg->nlflags & NLM_F_REPLACE)) { in vxlan_mdb_remote_src_add()
1114 if (!(cfg->nlflags & NLM_F_REPLACE)) { in vxlan_mdb_remote_add()
1121 if (!(cfg->nlflags & NLM_F_CREATE)) { in vxlan_mdb_remote_add()
/kernel/linux/linux-6.6/net/bridge/
H A Dbr_mdb.c746 if (!(cfg->nlflags & NLM_F_REPLACE)) { in br_mdb_add_group_sg()
816 sg_cfg.nlflags = cfg->nlflags; in br_mdb_add_group_src_fwd()
837 } else if (!(cfg->nlflags & NLM_F_REPLACE)) { in br_mdb_add_group_src()
971 if (!(cfg->nlflags & NLM_F_REPLACE)) { in br_mdb_add_group_star_g()
1212 cfg->nlflags = nlmsg_flags; in br_mdb_config_init()
H A Dbr_netlink.c676 struct net_device *dev, u32 filter_mask, int nlflags) in br_getlink()
687 return br_fill_ifinfo(skb, port, pid, seq, RTM_NEWLINK, nlflags, in br_getlink()
675 br_getlink(struct sk_buff *skb, u32 pid, u32 seq, struct net_device *dev, u32 filter_mask, int nlflags) br_getlink() argument
H A Dbr_private.h108 u16 nlflags; member
2081 u32 filter_mask, int nlflags);
/kernel/linux/linux-5.10/include/linux/
H A Drtnetlink.h132 u32 flags, u32 mask, int nlflags,
/kernel/linux/linux-6.6/include/linux/
H A Drtnetlink.h125 u32 flags, u32 mask, int nlflags,
/kernel/linux/linux-5.10/net/ipv4/
H A Dnexthop.c226 int event, u32 portid, u32 seq, unsigned int nlflags) in nh_fill_node()
234 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nhm), nlflags); in nh_fill_node()
362 unsigned int nlflags = info->nlh ? info->nlh->nlmsg_flags : 0; in nexthop_notify() local
371 err = nh_fill_node(skb, nh, event, info->portid, seq, nlflags); in nexthop_notify()
1151 bool replace = !!(cfg->nlflags & NLM_F_REPLACE); in insert_nexthop()
1152 bool create = !!(cfg->nlflags & NLM_F_CREATE); in insert_nexthop()
1456 if (cfg->nlflags & NLM_F_REPLACE && !cfg->nh_id) { in nexthop_add()
1534 cfg->nlflags = nlh->nlmsg_flags; in rtm_to_nh_config()
225 nh_fill_node(struct sk_buff *skb, struct nexthop *nh, int event, u32 portid, u32 seq, unsigned int nlflags) nh_fill_node() argument
H A Dfib_trie.c1174 u16 nlflags = NLM_F_EXCL; in fib_table_insert() local
1216 nlflags &= ~NLM_F_EXCL; in fib_table_insert()
1243 nlflags |= NLM_F_REPLACE; in fib_table_insert()
1285 tb->tb_id, &cfg->fc_nlinfo, nlflags); in fib_table_insert()
1303 nlflags |= NLM_F_APPEND; in fib_table_insert()
1311 nlflags |= NLM_F_CREATE; in fib_table_insert()
1355 &cfg->fc_nlinfo, nlflags); in fib_table_insert()
/kernel/linux/linux-6.6/net/tipc/
H A Dlink.h129 struct tipc_link *link, int nlflags);
H A Dbearer.c820 struct tipc_bearer *bearer, int nlflags) in __tipc_nl_add_bearer()
827 nlflags, TIPC_NL_BEARER_GET); in __tipc_nl_add_bearer()
1185 struct tipc_media *media, int nlflags) in __tipc_nl_add_media()
1192 nlflags, TIPC_NL_MEDIA_GET); in __tipc_nl_add_media()
819 __tipc_nl_add_bearer(struct tipc_nl_msg *msg, struct tipc_bearer *bearer, int nlflags) __tipc_nl_add_bearer() argument
1184 __tipc_nl_add_media(struct tipc_nl_msg *msg, struct tipc_media *media, int nlflags) __tipc_nl_add_media() argument
/kernel/linux/linux-5.10/net/tipc/
H A Dlink.h129 struct tipc_link *link, int nlflags);
H A Dbearer.c806 struct tipc_bearer *bearer, int nlflags) in __tipc_nl_add_bearer()
813 nlflags, TIPC_NL_BEARER_GET); in __tipc_nl_add_bearer()
1171 struct tipc_media *media, int nlflags) in __tipc_nl_add_media()
1178 nlflags, TIPC_NL_MEDIA_GET); in __tipc_nl_add_media()
805 __tipc_nl_add_bearer(struct tipc_nl_msg *msg, struct tipc_bearer *bearer, int nlflags) __tipc_nl_add_bearer() argument
1170 __tipc_nl_add_media(struct tipc_nl_msg *msg, struct tipc_media *media, int nlflags) __tipc_nl_add_media() argument
H A Dlink.c2657 struct tipc_link *link, int nlflags) in __tipc_nl_add_link()
2666 nlflags, TIPC_NL_LINK_GET); in __tipc_nl_add_link()
2656 __tipc_nl_add_link(struct net *net, struct tipc_nl_msg *msg, struct tipc_link *link, int nlflags) __tipc_nl_add_link() argument
/kernel/linux/linux-6.6/net/ipv4/
H A Dnexthop.c694 int event, u32 portid, u32 seq, unsigned int nlflags) in nh_fill_node()
702 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nhm), nlflags); in nh_fill_node()
843 unsigned int nlflags = info->nlh ? info->nlh->nlmsg_flags : 0; in nexthop_notify() local
852 err = nh_fill_node(skb, nh, event, info->portid, seq, nlflags); in nexthop_notify()
917 unsigned int nlflags, in nh_fill_res_bucket()
925 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nhm), nlflags); in nh_fill_res_bucket()
2308 bool replace = !!(cfg->nlflags & NLM_F_REPLACE); in insert_nexthop()
2309 bool create = !!(cfg->nlflags & NLM_F_CREATE); in insert_nexthop()
2666 if (cfg->nlflags & NLM_F_REPLACE && !cfg->nh_id) { in nexthop_add()
2804 cfg->nlflags in rtm_to_nh_config()
693 nh_fill_node(struct sk_buff *skb, struct nexthop *nh, int event, u32 portid, u32 seq, unsigned int nlflags) nh_fill_node() argument
914 nh_fill_res_bucket(struct sk_buff *skb, struct nexthop *nh, struct nh_res_bucket *bucket, u16 bucket_index, int event, u32 portid, u32 seq, unsigned int nlflags, struct netlink_ext_ack *extack) nh_fill_res_bucket() argument
[all...]
H A Dfib_trie.c1221 u16 nlflags = NLM_F_EXCL; in fib_table_insert() local
1264 nlflags &= ~NLM_F_EXCL; in fib_table_insert()
1291 nlflags |= NLM_F_REPLACE; in fib_table_insert()
1334 tb->tb_id, &cfg->fc_nlinfo, nlflags); in fib_table_insert()
1352 nlflags |= NLM_F_APPEND; in fib_table_insert()
1360 nlflags |= NLM_F_CREATE; in fib_table_insert()
1405 &cfg->fc_nlinfo, nlflags); in fib_table_insert()
/kernel/linux/linux-5.10/net/ipv6/
H A Dip6_fib.c1085 u16 nlflags = NLM_F_EXCL; in fib6_add_rt2node() local
1089 nlflags |= NLM_F_APPEND; in fib6_add_rt2node()
1108 nlflags &= ~NLM_F_EXCL; in fib6_add_rt2node()
1212 nlflags |= NLM_F_CREATE; in fib6_add_rt2node()
1254 inet6_rt_notify(RTM_NEWROUTE, rt, info, nlflags); in fib6_add_rt2node()
H A Droute.c5081 __u16 nlflags) in ip6_route_mpath_notify()
5089 if ((nlflags & NLM_F_APPEND) && rt_last && rt_last->fib6_nsiblings) { in ip6_route_mpath_notify()
5096 inet6_rt_notify(RTM_NEWROUTE, rt, info, nlflags); in ip6_route_mpath_notify()
5148 __u16 nlflags; in ip6_route_multipath_add() local
5157 nlflags = replace ? NLM_F_REPLACE : NLM_F_CREATE; in ip6_route_multipath_add()
5159 nlflags |= NLM_F_APPEND; in ip6_route_multipath_add()
5296 ip6_route_mpath_notify(rt_notif, rt_last, info, nlflags); in ip6_route_multipath_add()
5305 ip6_route_mpath_notify(rt_notif, rt_last, info, nlflags); in ip6_route_multipath_add()
5078 ip6_route_mpath_notify(struct fib6_info *rt, struct fib6_info *rt_last, struct nl_info *info, __u16 nlflags) ip6_route_mpath_notify() argument
/kernel/linux/linux-6.6/net/ipv6/
H A Dip6_fib.c1082 u16 nlflags = NLM_F_EXCL; in fib6_add_rt2node() local
1086 nlflags |= NLM_F_APPEND; in fib6_add_rt2node()
1105 nlflags &= ~NLM_F_EXCL; in fib6_add_rt2node()
1209 nlflags |= NLM_F_CREATE; in fib6_add_rt2node()
1251 inet6_rt_notify(RTM_NEWROUTE, rt, info, nlflags); in fib6_add_rt2node()
H A Droute.c5174 __u16 nlflags) in ip6_route_mpath_notify()
5182 if ((nlflags & NLM_F_APPEND) && rt_last && rt_last->fib6_nsiblings) { in ip6_route_mpath_notify()
5189 inet6_rt_notify(RTM_NEWROUTE, rt, info, nlflags); in ip6_route_mpath_notify()
5241 __u16 nlflags; in ip6_route_multipath_add() local
5250 nlflags = replace ? NLM_F_REPLACE : NLM_F_CREATE; in ip6_route_multipath_add()
5252 nlflags |= NLM_F_APPEND; in ip6_route_multipath_add()
5389 ip6_route_mpath_notify(rt_notif, rt_last, info, nlflags); in ip6_route_multipath_add()
5398 ip6_route_mpath_notify(rt_notif, rt_last, info, nlflags); in ip6_route_multipath_add()
5171 ip6_route_mpath_notify(struct fib6_info *rt, struct fib6_info *rt_last, struct nl_info *info, __u16 nlflags) ip6_route_mpath_notify() argument
/kernel/linux/linux-5.10/include/net/
H A Dnexthop.h47 u32 nlflags; member
/kernel/linux/linux-6.6/include/net/
H A Dnexthop.h53 u32 nlflags; member
/kernel/linux/linux-5.10/drivers/s390/net/
H A Dqeth_l2_main.c767 int nlflags) in qeth_l2_bridge_getlink()
781 nlflags, filter_mask, NULL); in qeth_l2_bridge_getlink()
765 qeth_l2_bridge_getlink(struct sk_buff *skb, u32 pid, u32 seq, struct net_device *dev, u32 filter_mask, int nlflags) qeth_l2_bridge_getlink() argument
/kernel/linux/linux-5.10/net/bridge/
H A Dbr_netlink.c536 struct net_device *dev, u32 filter_mask, int nlflags) in br_getlink()
545 return br_fill_ifinfo(skb, port, pid, seq, RTM_NEWLINK, nlflags, in br_getlink()
535 br_getlink(struct sk_buff *skb, u32 pid, u32 seq, struct net_device *dev, u32 filter_mask, int nlflags) br_getlink() argument
/kernel/linux/linux-6.6/drivers/s390/net/
H A Dqeth_l2_main.c937 int nlflags) in qeth_l2_bridge_getlink()
951 nlflags, filter_mask, NULL); in qeth_l2_bridge_getlink()
935 qeth_l2_bridge_getlink(struct sk_buff *skb, u32 pid, u32 seq, struct net_device *dev, u32 filter_mask, int nlflags) qeth_l2_bridge_getlink() argument
/kernel/linux/linux-5.10/net/core/
H A Drtnetlink.c3901 int nlflags, u16 ndm_state) in nlmsg_populate_fdb_fill()
3906 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), nlflags); in nlmsg_populate_fdb_fill()
4634 u32 flags, u32 mask, int nlflags, in ndo_dflt_bridge_getlink()
4648 nlh = nlmsg_put(skb, pid, seq, RTM_NEWLINK, sizeof(*ifm), nlflags); in ndo_dflt_bridge_getlink()
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
4632 ndo_dflt_bridge_getlink(struct sk_buff *skb, u32 pid, u32 seq, struct net_device *dev, u16 mode, u32 flags, u32 mask, int nlflags, u32 filter_mask, int (*vlan_fill)(struct sk_buff *skb, struct net_device *dev, u32 filter_mask)) ndo_dflt_bridge_getlink() argument

Completed in 71 milliseconds

12