Home
last modified time | relevance | path

Searched refs:selector (Results 1 – 7 of 7) sorted by relevance

/net/tipc/
Dnode.h159 static inline uint tipc_node_get_mtu(u32 addr, u32 selector) in tipc_node_get_mtu() argument
167 mtu = node->act_mtus[selector & 1]; in tipc_node_get_mtu()
Dlink.h229 int tipc_link_xmit(struct sk_buff *buf, u32 dest, u32 selector);
231 u32 tipc_link_get_max_pkt(u32 dest, u32 selector);
Dlink.c780 int tipc_link_xmit(struct sk_buff *buf, u32 dnode, u32 selector) in tipc_link_xmit() argument
789 link = node->active_links[selector & 1]; in tipc_link_xmit()
1655 u32 selector) in tipc_link_tunnel_xmit() argument
1661 tunnel = l_ptr->owner->active_links[selector & 1]; in tipc_link_tunnel_xmit()
2337 u32 tipc_link_get_max_pkt(u32 dest, u32 selector) in tipc_link_get_max_pkt() argument
2349 l_ptr = n_ptr->active_links[selector & 1]; in tipc_link_get_max_pkt()
/net/key/
Daf_key.c2076 addr->sadb_address_proto = pfkey_proto_from_xfrm(xp->selector.proto); in pfkey_xfrm_policy2msg()
2077 addr->sadb_address_prefixlen = xp->selector.prefixlen_s; in pfkey_xfrm_policy2msg()
2079 if (!pfkey_sockaddr_fill(&xp->selector.saddr, in pfkey_xfrm_policy2msg()
2080 xp->selector.sport, in pfkey_xfrm_policy2msg()
2092 addr->sadb_address_proto = pfkey_proto_from_xfrm(xp->selector.proto); in pfkey_xfrm_policy2msg()
2093 addr->sadb_address_prefixlen = xp->selector.prefixlen_d; in pfkey_xfrm_policy2msg()
2096 pfkey_sockaddr_fill(&xp->selector.daddr, xp->selector.dport, in pfkey_xfrm_policy2msg()
2265 xp->family = pfkey_sadb_addr2xfrm_addr(sa, &xp->selector.saddr); in pfkey_spdadd()
2266 xp->selector.family = xp->family; in pfkey_spdadd()
2267 xp->selector.prefixlen_s = sa->sadb_address_prefixlen; in pfkey_spdadd()
[all …]
/net/xfrm/
Dxfrm_policy.c424 h = __addr_hash(&pol->selector.daddr, &pol->selector.saddr, in xfrm_dst_hash_transfer()
628 chain = policy_hash_bysel(net, &policy->selector, in xfrm_hash_rebuild()
755 chain = policy_hash_bysel(net, &policy->selector, policy->family, dir); in xfrm_policy_insert()
760 !selector_cmp(&pol->selector, &policy->selector) && in xfrm_policy_insert()
829 !selector_cmp(sel, &pol->selector) && in xfrm_policy_bysel_ctx()
1072 const struct xfrm_selector *sel = &pol->selector; in xfrm_policy_match()
1221 bool match = xfrm_selector_match(&pol->selector, fl, family); in xfrm_sk_policy_lookup()
1249 struct hlist_head *chain = policy_hash_bysel(net, &pol->selector, in __xfrm_policy_link()
1334 newp->selector = old->selector; in clone_policy()
1646 int family = policy->selector.family; in xfrm_bundle_create()
[all …]
Dxfrm_user.c1435 memcpy(&xp->selector, &p->sel, sizeof(xp->selector)); in copy_from_user_policy()
1446 memcpy(&p->sel, &xp->selector, sizeof(p->sel)); in copy_to_user_policy()
2918 memcpy(&id->sel, &xp->selector, sizeof(id->sel)); in xfrm_notify_policy()
/net/dcb/
Ddcbnl.c481 .selector = idtype, in dcbnl_getapp()
549 app.selector = idtype; in dcbnl_setapp()
1250 itr->app.selector); in dcbnl_cee_fill()
1728 if (itr->app.selector == app->selector && in dcb_app_lookup()