Home
last modified time | relevance | path

Searched refs:nlflags (Results 1 – 10 of 10) sorted by relevance

/net/ipv4/
Dnexthop.c216 int event, u32 portid, u32 seq, unsigned int nlflags) in nh_fill_node() argument
224 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nhm), nlflags); in nh_fill_node()
347 unsigned int nlflags = info->nlh ? info->nlh->nlmsg_flags : 0; in nexthop_notify() local
356 err = nh_fill_node(skb, nh, event, info->portid, seq, nlflags); in nexthop_notify()
1012 bool replace = !!(cfg->nlflags & NLM_F_REPLACE); in insert_nexthop()
1013 bool create = !!(cfg->nlflags & NLM_F_CREATE); in insert_nexthop()
1305 if (cfg->nlflags & NLM_F_REPLACE && !cfg->nh_id) { in nexthop_add()
1383 cfg->nlflags = nlh->nlmsg_flags; in rtm_to_nh_config()
Dfib_trie.c1127 u16 nlflags = NLM_F_EXCL; in fib_table_insert() local
1169 nlflags &= ~NLM_F_EXCL; in fib_table_insert()
1196 nlflags |= NLM_F_REPLACE; in fib_table_insert()
1226 tb->tb_id, &cfg->fc_nlinfo, nlflags); in fib_table_insert()
1247 nlflags |= NLM_F_APPEND; in fib_table_insert()
1256 nlflags |= NLM_F_CREATE; in fib_table_insert()
1284 &cfg->fc_nlinfo, nlflags); in fib_table_insert()
/net/tipc/
Dbearer.c759 struct tipc_bearer *bearer, int nlflags) in __tipc_nl_add_bearer() argument
766 nlflags, TIPC_NL_BEARER_GET); in __tipc_nl_add_bearer()
1124 struct tipc_media *media, int nlflags) in __tipc_nl_add_media() argument
1131 nlflags, TIPC_NL_MEDIA_GET); in __tipc_nl_add_media()
Dlink.h129 struct tipc_link *link, int nlflags);
Dlink.c2447 struct tipc_link *link, int nlflags) in __tipc_nl_add_link() argument
2456 nlflags, TIPC_NL_LINK_GET); in __tipc_nl_add_link()
/net/ipv6/
Dip6_fib.c1027 u16 nlflags = NLM_F_EXCL; in fib6_add_rt2node() local
1031 nlflags |= NLM_F_APPEND; in fib6_add_rt2node()
1050 nlflags &= ~NLM_F_EXCL; in fib6_add_rt2node()
1152 nlflags |= NLM_F_CREATE; in fib6_add_rt2node()
1183 inet6_rt_notify(RTM_NEWROUTE, rt, info, nlflags); in fib6_add_rt2node()
Droute.c5045 __u16 nlflags) in ip6_route_mpath_notify() argument
5053 if ((nlflags & NLM_F_APPEND) && rt_last && rt_last->fib6_nsiblings) { in ip6_route_mpath_notify()
5060 inet6_rt_notify(RTM_NEWROUTE, rt, info, nlflags); in ip6_route_mpath_notify()
5087 __u16 nlflags; in ip6_route_multipath_add() local
5096 nlflags = replace ? NLM_F_REPLACE : NLM_F_CREATE; in ip6_route_multipath_add()
5098 nlflags |= NLM_F_APPEND; in ip6_route_multipath_add()
5221 ip6_route_mpath_notify(rt_notif, rt_last, info, nlflags); in ip6_route_multipath_add()
5230 ip6_route_mpath_notify(rt_notif, rt_last, info, nlflags); in ip6_route_multipath_add()
/net/bridge/
Dbr_netlink.c512 struct net_device *dev, u32 filter_mask, int nlflags) in br_getlink() argument
520 return br_fill_ifinfo(skb, port, pid, seq, RTM_NEWLINK, nlflags, in br_getlink()
Dbr_private.h1176 u32 filter_mask, int nlflags);
/net/core/
Drtnetlink.c3588 int nlflags, u16 ndm_state) in nlmsg_populate_fdb_fill() argument
3593 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), nlflags); in nlmsg_populate_fdb_fill()
4321 u32 flags, u32 mask, int nlflags, in ndo_dflt_bridge_getlink() argument
4335 nlh = nlmsg_put(skb, pid, seq, RTM_NEWLINK, sizeof(*ifm), nlflags); in ndo_dflt_bridge_getlink()