Home
last modified time | relevance | path

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

/net/ipv4/
Dnexthop.c225 int event, u32 portid, u32 seq, unsigned int nlflags) in nh_fill_node() argument
233 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nhm), nlflags); in nh_fill_node()
361 unsigned int nlflags = info->nlh ? info->nlh->nlmsg_flags : 0; in nexthop_notify() local
370 err = nh_fill_node(skb, nh, event, info->portid, seq, nlflags); in nexthop_notify()
1129 bool replace = !!(cfg->nlflags & NLM_F_REPLACE); in insert_nexthop()
1130 bool create = !!(cfg->nlflags & NLM_F_CREATE); in insert_nexthop()
1434 if (cfg->nlflags & NLM_F_REPLACE && !cfg->nh_id) { in nexthop_add()
1512 cfg->nlflags = nlh->nlmsg_flags; in rtm_to_nh_config()
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()
/net/tipc/
Dbearer.c793 struct tipc_bearer *bearer, int nlflags) in __tipc_nl_add_bearer() argument
800 nlflags, TIPC_NL_BEARER_GET); in __tipc_nl_add_bearer()
1158 struct tipc_media *media, int nlflags) in __tipc_nl_add_media() argument
1165 nlflags, TIPC_NL_MEDIA_GET); in __tipc_nl_add_media()
Dlink.h129 struct tipc_link *link, int nlflags);
Dlink.c2654 struct tipc_link *link, int nlflags) in __tipc_nl_add_link() argument
2663 nlflags, TIPC_NL_LINK_GET); in __tipc_nl_add_link()
/net/ipv6/
Dip6_fib.c1080 u16 nlflags = NLM_F_EXCL; in fib6_add_rt2node() local
1084 nlflags |= NLM_F_APPEND; in fib6_add_rt2node()
1103 nlflags &= ~NLM_F_EXCL; in fib6_add_rt2node()
1207 nlflags |= NLM_F_CREATE; in fib6_add_rt2node()
1249 inet6_rt_notify(RTM_NEWROUTE, rt, info, nlflags); in fib6_add_rt2node()
Droute.c5037 __u16 nlflags) in ip6_route_mpath_notify() argument
5045 if ((nlflags & NLM_F_APPEND) && rt_last && rt_last->fib6_nsiblings) { in ip6_route_mpath_notify()
5052 inet6_rt_notify(RTM_NEWROUTE, rt, info, nlflags); in ip6_route_mpath_notify()
5104 __u16 nlflags; in ip6_route_multipath_add() local
5113 nlflags = replace ? NLM_F_REPLACE : NLM_F_CREATE; in ip6_route_multipath_add()
5115 nlflags |= NLM_F_APPEND; in ip6_route_multipath_add()
5252 ip6_route_mpath_notify(rt_notif, rt_last, info, nlflags); in ip6_route_multipath_add()
5261 ip6_route_mpath_notify(rt_notif, rt_last, info, nlflags); in ip6_route_multipath_add()
/net/bridge/
Dbr_netlink.c536 struct net_device *dev, u32 filter_mask, int nlflags) in br_getlink() argument
545 return br_fill_ifinfo(skb, port, pid, seq, RTM_NEWLINK, nlflags, in br_getlink()
Dbr_private.h1472 u32 filter_mask, int nlflags);
/net/core/
Drtnetlink.c3901 int nlflags, u16 ndm_state) in nlmsg_populate_fdb_fill() argument
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() argument
4648 nlh = nlmsg_put(skb, pid, seq, RTM_NEWLINK, sizeof(*ifm), nlflags); in ndo_dflt_bridge_getlink()