Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/include/trace/events/
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;
/kernel/linux/linux-5.10/include/net/
Dneighbour.h160 u8 primary_key[0]; member
268 return *(const u16 *)n->primary_key == *(const u16 *)pkey; in neigh_key_eq16()
273 return *(const u32 *)n->primary_key == *(const u32 *)pkey; in neigh_key_eq32()
278 const u32 *n32 = (const u32 *)n->primary_key; in neigh_key_eq128()
Dtcp.h1686 void *primary_key, void *backup_key);
/kernel/linux/common_modules/newip/third_party/linux-5.10/include/net/
Dnndisc.h33 a2 = (struct nip_addr *)(n->primary_key); in neigh_key_eq800()
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_fastopen.c70 void *primary_key, void *backup_key) in tcp_fastopen_reset_cipher() argument
82 ctx->key[0].key[0] = get_unaligned_le64(primary_key); in tcp_fastopen_reset_cipher()
83 ctx->key[0].key[1] = get_unaligned_le64(primary_key + 8); in tcp_fastopen_reset_cipher()
Darp.c231 memcpy(neigh->primary_key, &inaddr_any, arp_tbl.key_len); in arp_constructor()
233 addr = *(__be32 *)neigh->primary_key; in arp_constructor()
337 __be32 target = *(__be32 *)neigh->primary_key; in arp_solicit()
1377 sprintf(tbuf, "%pI4", n->primary_key); in arp_format_neigh_entry()
Dip_tunnel.c690 addr6 = (const struct in6_addr *)&neigh->primary_key; in ip_tunnel_xmit()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.c319 addr = *(u32 *) neigh->primary_key; in t3_l2t_get()
404 u32 addr = *(u32 *) neigh->primary_key; in t3_l2t_update()
/kernel/linux/linux-5.10/kernel/trace/
Dtracing_map.c1001 struct tracing_map_sort_key *primary_key, in sort_secondary() argument
1008 if (is_key(map, primary_key->field_idx)) in sort_secondary()
1038 set_sort_key(map, primary_key); in sort_secondary()
/kernel/linux/linux-5.10/net/atm/
Dclip.c268 __be32 *ip = (__be32 *) neigh->primary_key; in clip_neigh_solicit()
365 to_atmarpd(act_need, PRIV(dev)->number, *((__be32 *)n->primary_key)); in clip_start_xmit()
759 off = scnprintf(buf, sizeof(buf) - 1, "%pI4", n->primary_key); in atmarp_info()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dnndisc.c167 struct nip_addr *addr = (struct nip_addr *)&neigh->primary_key; in nndisc_constructor()
393 struct nip_addr *target = (struct nip_addr *)&neigh->primary_key; in nndisc_solicit()
/kernel/linux/linux-5.10/net/core/
Dneighbour.c205 void *pkey = ndel->primary_key; in neigh_remove_one()
244 tbl->is_multicast(n->primary_key)) || in neigh_forced_gc()
524 hash = tbl->hash(n->primary_key, n->dev, in neigh_hash_grow()
581 if (!memcmp(n->primary_key, pkey, key_len) && in neigh_lookup_nodev()
612 memcpy(n->primary_key, pkey, key_len); in ___neigh_create()
646 hash_val = tbl->hash(n->primary_key, dev, nht->hash_rnd) >> (32 - nht->hash_shift); in ___neigh_create()
658 if (dev == n1->dev && !memcmp(n1->primary_key, n->primary_key, key_len)) { in ___neigh_create()
1735 tbl->entry_size = ALIGN(offsetof(struct neighbour, primary_key) + in neigh_table_init()
2480 if (nla_put(skb, NDA_DST, neigh->tbl->key_len, neigh->primary_key)) in neigh_fill_info()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c234 memcpy(&e->m_neigh.dst_ip, n->primary_key, n->tbl->key_len); in mlx5e_tc_tun_create_header_ipv4()
399 memcpy(&e->m_neigh.dst_ip, n->primary_key, n->tbl->key_len); in mlx5e_tc_tun_create_header_ipv6()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c423 u32 *addr = (u32 *)neigh->primary_key; in cxgb4_l2t_get()
512 u32 *addr = (u32 *) neigh->primary_key; in t4_l2t_update()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dneigh.c180 memcpy(&m_neigh.dst_ip, n->primary_key, n->tbl->key_len); in mlx5e_alloc_neigh_update_work()
/kernel/linux/linux-5.10/net/bridge/
Dbr_arp_nd_proxy.c314 pip6->saddr = *(struct in6_addr *)n->primary_key; in br_nd_send()
/kernel/linux/linux-5.10/net/sched/
Dsch_teql.c232 mn = __neigh_lookup_errno(n->tbl, n->primary_key, dev); in __teql_resolve()
/kernel/linux/linux-5.10/net/decnet/
Ddn_dev.c1370 … dn_db->router ? dn_addr2asc(le16_to_cpu(*(__le16 *)dn_db->router->primary_key), router_buf) : "", in dn_dev_seq_show()
1371 dn_db->peer ? dn_addr2asc(le16_to_cpu(*(__le16 *)dn_db->peer->primary_key), peer_buf) : ""); in dn_dev_seq_show()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
Dtunnel_conf.c549 flow6.daddr = *(struct in6_addr *)n->primary_key; in nfp_tun_neigh_event_handler()
551 flow4.daddr = *(__be32 *)n->primary_key; in nfp_tun_neigh_event_handler()
/kernel/linux/linux-5.10/net/ipv6/
Dndisc.c327 struct in6_addr *addr = (struct in6_addr *)&neigh->primary_key; in ndisc_constructor()
723 struct in6_addr *target = (struct in6_addr *)&neigh->primary_key; in ndisc_solicit()
Dsit.c888 addr6 = (const struct in6_addr *)&neigh->primary_key; in ipip6_tunnel_xmit()
917 addr6 = (const struct in6_addr *)&neigh->primary_key; in ipip6_tunnel_xmit()
Dip6_tunnel.c1146 addr6 = (struct in6_addr *)&neigh->primary_key; in ip6_tnl_xmit()
/kernel/linux/linux-5.10/drivers/net/ethernet/rocker/
Drocker_ofdpa.c2694 __be32 ip_addr = *(__be32 *) n->primary_key; in ofdpa_port_neigh_update()
2704 __be32 ip_addr = *(__be32 *) n->primary_key; in ofdpa_port_neigh_destroy()
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
Di40iw_utils.c288 p = (__be32 *)neigh->primary_key; in i40iw_net_event()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c2002 return ntohl(*((__be32 *) n->primary_key)); in mlxsw_sp_neigh4_entry_dip()
2011 return (struct in6_addr *) &n->primary_key; in mlxsw_sp_neigh6_entry_dip()
2439 u32 dip = ntohl(*((__be32 *) n->primary_key)); in mlxsw_sp_router_neigh_entry_op4()
2457 const char *dip = n->primary_key; in mlxsw_sp_router_neigh_entry_op6()
2475 if (ipv6_addr_type((struct in6_addr *) &n->primary_key) & in mlxsw_sp_neigh_ipv6_ignore()

12