Home
last modified time | relevance | path

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

/net/ipv4/
Darp.c122 static u32 arp_hash(const void *pkey, const struct net_device *dev, __u32 *hash_rnd);
123 static bool arp_key_eq(const struct neighbour *n, const void *pkey);
128 static int arp_is_multicast(const void *pkey);
211 static u32 arp_hash(const void *pkey, in arp_hash() argument
215 return arp_hashfn(pkey, dev, hash_rnd); in arp_hash()
218 static bool arp_key_eq(const struct neighbour *neigh, const void *pkey) in arp_key_eq() argument
220 return neigh_key_eq32(neigh, pkey); in arp_key_eq()
954 static int arp_is_multicast(const void *pkey) in arp_is_multicast() argument
956 return ipv4_is_multicast(*((__be32 *)pkey)); in arp_is_multicast()
Dfib_trie.c1541 t_key pkey = pn->key; in fib_table_lookup() local
1557 cindex = get_index(pkey, pn); in fib_table_lookup()
1812 t_key pkey = pn->key; in leaf_walk_rcu() local
1815 cindex = get_index(pkey, pn) + 1; in leaf_walk_rcu()
1854 t_key pkey = pn->key; in fib_trie_free() local
1866 cindex = get_index(pkey, pn); in fib_trie_free()
1972 t_key pkey = pn->key; in fib_table_flush_external() local
1984 cindex = get_index(pkey, pn); in fib_table_flush_external()
2042 t_key pkey = pn->key; in fib_table_flush() local
2054 cindex = get_index(pkey, pn); in fib_table_flush()
[all …]
Droute.c418 __be32 pkey; in ipv4_neigh_lookup() local
420 pkey = skb ? ip_hdr(skb)->daddr : *((__be32 *) daddr); in ipv4_neigh_lookup()
421 n = ip_neigh_gw4(dev, pkey); in ipv4_neigh_lookup()
436 const __be32 *pkey = daddr; in ipv4_confirm_neigh() local
439 pkey = (const __be32 *)&rt->rt_gw4; in ipv4_confirm_neigh()
447 __ipv4_confirm_neigh(dev, *(__force u32 *)pkey); in ipv4_confirm_neigh()
/net/ipv6/
Dndisc.c72 static u32 ndisc_hash(const void *pkey,
75 static bool ndisc_key_eq(const struct neighbour *neigh, const void *pkey);
84 static int ndisc_is_multicast(const void *pkey);
315 static u32 ndisc_hash(const void *pkey, in ndisc_hash() argument
319 return ndisc_hashfn(pkey, dev, hash_rnd); in ndisc_hash()
322 static bool ndisc_key_eq(const struct neighbour *n, const void *pkey) in ndisc_key_eq() argument
324 return neigh_key_eq128(n, pkey); in ndisc_key_eq()
763 static int pndisc_is_router(const void *pkey, in pndisc_is_router() argument
770 n = __pneigh_lookup(&nd_tbl, dev_net(dev), pkey, dev); in pndisc_is_router()
1798 static int ndisc_is_multicast(const void *pkey) in ndisc_is_multicast() argument
[all …]
/net/core/
Dneighbour.c232 void *pkey = ndel->primary_key; in neigh_remove_one() local
239 hash_val = tbl->hash(pkey, ndel->dev, nht->hash_rnd); in neigh_remove_one()
618 struct neighbour *neigh_lookup(struct neigh_table *tbl, const void *pkey, in neigh_lookup() argument
626 n = __neigh_lookup_noref(tbl, pkey, dev); in neigh_lookup()
639 ___neigh_create(struct neigh_table *tbl, const void *pkey, in ___neigh_create() argument
649 trace_neigh_create(tbl, dev, pkey, n, exempt_from_gc); in ___neigh_create()
655 memcpy(n->primary_key, pkey, key_len); in ___neigh_create()
734 struct neighbour *__neigh_create(struct neigh_table *tbl, const void *pkey, in __neigh_create() argument
737 return ___neigh_create(tbl, pkey, dev, 0, false, want_ref); in __neigh_create()
741 static u32 pneigh_hash(const void *pkey, unsigned int key_len) in pneigh_hash() argument
[all …]
/net/tipc/
Dnode.c2917 struct tipc_aead_key **pkey) in tipc_nl_retrieve_key() argument
2932 *pkey = key; in tipc_nl_retrieve_key()
/net/ceph/
Dosd_client.c1689 void **pkey, size_t *pkey_len) in hoid_get_effective_key() argument
1692 *pkey = hoid->key; in hoid_get_effective_key()
1695 *pkey = hoid->oid; in hoid_get_effective_key()