Home
last modified time | relevance | path

Searched refs:primary_key (Results 1 – 20 of 20) sorted by relevance

/linux/include/trace/events/
H A Dneigh.h118 *p32 = *(__be32 *)n->primary_key;
125 *pin6 = *(struct in6_addr *)n->primary_key;
195 *p32 = *(__be32 *)n->primary_key;
202 *pin6 = *(struct in6_addr *)n->primary_key;
/linux/net/ipv4/
H A Dtcp_fastopen.c146 void *primary_key, void *backup_key) in tcp_fastopen_reset_cipher() argument
158 ctx->key[0].key[0] = get_unaligned_le64(primary_key); in tcp_fastopen_reset_cipher()
159 ctx->key[0].key[1] = get_unaligned_le64(primary_key + 8); in tcp_fastopen_reset_cipher()
H A Darp.c232 memcpy(neigh->primary_key, &inaddr_any, arp_tbl.key_len); in arp_constructor()
234 addr = *(__be32 *)neigh->primary_key; in arp_constructor()
338 __be32 target = *(__be32 *)neigh->primary_key; in arp_solicit()
1444 sprintf(tbuf, "%pI4", n->primary_key); in arp_format_neigh_entry()
H A Dip_tunnel.c725 addr6 = (const struct in6_addr *)&neigh->primary_key; in ip_tunnel_xmit()
/linux/include/net/
H A Dneighbour.h169 u8 primary_key[]; member
291 return *(const u32 *)n->primary_key == *(const u32 *)pkey; in neigh_key_eq32()
296 const u32 *n32 = (const u32 *)n->primary_key; in neigh_key_eq128()
H A Dtcp.h2113 void *primary_key, void *backup_key);
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.c282 addr = *(u32 *) neigh->primary_key; in t3_l2t_get()
367 u32 addr = *(u32 *) neigh->primary_key; in t3_l2t_update()
/linux/kernel/trace/
H A Dtracing_map.c1002 struct tracing_map_sort_key *primary_key, in is_key()
1009 if (is_key(map, primary_key->field_idx)) in sort_secondary()
1039 set_sort_key(map, primary_key); in sort_secondary()
1010 sort_secondary(struct tracing_map * map,const struct tracing_map_sort_entry ** entries,unsigned int n_entries,struct tracing_map_sort_key * primary_key,struct tracing_map_sort_key * secondary_key) sort_secondary() argument
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dl2t.c423 u32 *addr = (u32 *)neigh->primary_key; in cxgb4_l2t_get()
512 u32 *addr = (u32 *) neigh->primary_key; in t4_l2t_update()
/linux/net/core/
H A Dneighbour.c275 tbl->is_multicast(n->primary_key)) || in neigh_forced_gc()
607 hash = tbl->hash(n->primary_key, n->dev, in neigh_hash_grow()
659 memcpy(n->primary_key, pkey, key_len); in ___neigh_create()
693 hash_val = tbl->hash(n->primary_key, dev, nht->hash_rnd) >> (32 - nht->hash_shift); in ___neigh_create()
701 if (dev == n1->dev && !memcmp(n1->primary_key, n->primary_key, key_len)) { in ___neigh_create()
1855 tbl->entry_size = ALIGN(offsetof(struct neighbour, primary_key) + in neigh_table_init()
2667 if (nla_put(skb, NDA_DST, neigh->tbl->key_len, neigh->primary_key)) in __neigh_fill_info()
/linux/net/sched/
H A Dsch_teql.c234 mn = __neigh_lookup_errno(n->tbl, n->primary_key, dev); in __teql_resolve()
/linux/net/bridge/
H A Dbr_arp_nd_proxy.c329 pip6->saddr = *(struct in6_addr *)n->primary_key; in br_nd_send()
/linux/net/ipv6/
H A Dndisc.c327 struct in6_addr *addr = (struct in6_addr *)&neigh->primary_key; in ndisc_constructor()
744 struct in6_addr *target = (struct in6_addr *)&neigh->primary_key; in ndisc_solicit()
H A Dip6_tunnel.c1140 addr6 = (struct in6_addr *)&neigh->primary_key; in ip6_tnl_xmit()
H A Droute.c4353 nrt->rt6i_gateway = *(struct in6_addr *)neigh->primary_key; in rt6_do_redirect()
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_router.c157 key->addr.u.ipv4 = *(__be32 *)n->primary_key; in prestera_util_neigh2nc_key()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c2234 return ntohl(*((__be32 *) n->primary_key)); in mlxsw_sp_neigh4_entry_dip()
2243 return (struct in6_addr *) &n->primary_key; in mlxsw_sp_neigh6_entry_dip()
2678 u32 dip = ntohl(*((__be32 *) n->primary_key)); in mlxsw_sp_router_neigh_entry_op4()
2696 const char *dip = n->primary_key; in mlxsw_sp_router_neigh_entry_op6()
2714 if (ipv6_addr_type((struct in6_addr *) &n->primary_key) & in mlxsw_sp_neigh_ipv6_ignore()
/linux/drivers/infiniband/hw/irdma/
H A Dutils.c272 p = (__be32 *)neigh->primary_key; in irdma_net_event()
/linux/drivers/infiniband/core/
H A Dcma.c5255 neigh_sock_6.sin6_addr = *(struct in6_addr *)neigh->primary_key; in cma_netevent_callback()
5262 neigh_sock_4.sin_addr.s_addr = *(__be32 *)(neigh->primary_key); in cma_netevent_callback()
/linux/drivers/net/vxlan/
H A Dvxlan_core.c2001 pip6->saddr = *(struct in6_addr *)n->primary_key; in vxlan_na_create()