/kernel/linux/linux-5.10/drivers/net/wireguard/selftest/ |
D | ratelimiter.c | 67 hdr6->saddr.in6_u.u6_addr32[2] = htonl(i); in timings_test() 68 hdr6->saddr.in6_u.u6_addr32[3] = htonl(i); in timings_test() 77 hdr6->saddr.in6_u.u6_addr32[0] = in timings_test() 78 htonl(ntohl(hdr6->saddr.in6_u.u6_addr32[0]) + i + 1); in timings_test() 86 hdr6->saddr.in6_u.u6_addr32[0] = in timings_test() 87 htonl(ntohl(hdr6->saddr.in6_u.u6_addr32[0]) - i - 1); in timings_test() 164 hdr6->saddr.in6_u.u6_addr32[0] = htonl(1212); in wg_ratelimiter_selftest() 165 hdr6->saddr.in6_u.u6_addr32[1] = htonl(289188); in wg_ratelimiter_selftest()
|
D | allowedips.c | 146 return (ip->in6_u.u6_addr32[0] & node->mask.ip6[0]) == node->ip.ip6[0] && in horrible_match_v6() 147 (ip->in6_u.u6_addr32[1] & node->mask.ip6[1]) == node->ip.ip6[1] && in horrible_match_v6() 148 (ip->in6_u.u6_addr32[2] & node->mask.ip6[2]) == node->ip.ip6[2] && in horrible_match_v6() 149 (ip->in6_u.u6_addr32[3] & node->mask.ip6[3]) == node->ip.ip6[3]; in horrible_match_v6()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | cgroup_skb_sk_lookup_kern.c | 24 dst[0] = src->in6_u.u6_addr32[0]; in set_ip() 25 dst[1] = src->in6_u.u6_addr32[1]; in set_ip() 26 dst[2] = src->in6_u.u6_addr32[2]; in set_ip() 27 dst[3] = src->in6_u.u6_addr32[3]; in set_ip()
|
D | test_xdp_noinline.c | 312 ip6h->saddr.in6_u.u6_addr32[0] = 1; in encap_v6() 313 ip6h->saddr.in6_u.u6_addr32[1] = 2; in encap_v6() 314 ip6h->saddr.in6_u.u6_addr32[2] = 3; in encap_v6() 315 ip6h->saddr.in6_u.u6_addr32[3] = ip_suffix; in encap_v6() 316 memcpy(ip6h->daddr.in6_u.u6_addr32, dst->dstv6, 16); in encap_v6() 477 memcpy(tmp_addr, ip6h->saddr.in6_u.u6_addr32, 16); in send_icmp6_reply() 478 memcpy(ip6h->saddr.in6_u.u6_addr32, ip6h->daddr.in6_u.u6_addr32, 16); in send_icmp6_reply() 479 memcpy(ip6h->daddr.in6_u.u6_addr32, tmp_addr, 16); in send_icmp6_reply() 503 memcpy(pckt->flow.srcv6, ip6h->daddr.in6_u.u6_addr32, 16); in parse_icmpv6() 504 memcpy(pckt->flow.dstv6, ip6h->saddr.in6_u.u6_addr32, 16); in parse_icmpv6() [all …]
|
D | bpf_tracing_net.h | 42 #define s6_addr32 in6_u.u6_addr32
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | in6.h | 31 } in6_u; member 32 #define s6_addr in6_u.u6_addr8 34 #define s6_addr16 in6_u.u6_addr16 35 #define s6_addr32 in6_u.u6_addr32
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | in6.h | 40 } in6_u; member 41 #define s6_addr in6_u.u6_addr8 43 #define s6_addr16 in6_u.u6_addr16 44 #define s6_addr32 in6_u.u6_addr32
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | in6.h | 18 } in6_u; member 19 #define s6_addr in6_u.u6_addr8 21 #define s6_addr16 in6_u.u6_addr16 22 #define s6_addr32 in6_u.u6_addr32
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | fs_tracepoint.c | 101 .in6_u.u6_addr32 = {__constant_htonl(0xffffffff), in print_lyr_2_4_hdrs() 109 memcpy(src_ipv6.m.in6_u.u6_addr8, in print_lyr_2_4_hdrs() 113 memcpy(dst_ipv6.m.in6_u.u6_addr8, in print_lyr_2_4_hdrs() 117 memcpy(src_ipv6.v.in6_u.u6_addr8, in print_lyr_2_4_hdrs() 121 memcpy(dst_ipv6.v.in6_u.u6_addr8, in print_lyr_2_4_hdrs()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/ |
D | qedr_iw_cm.c | 75 laddr6->sin6_addr.in6_u.u6_addr32[i] = in qedr_fill_sockaddr6() 77 raddr6->sin6_addr.in6_u.u6_addr32[i] = in qedr_fill_sockaddr6() 422 laddr6.in6_u.u6_addr32[i] = htonl(addr[i]); in qedr_iw_get_vlan_ipv6() 607 ntohl(raddr6->sin6_addr.in6_u.u6_addr32[i]); in qedr_iw_connect() 609 ntohl(laddr6->sin6_addr.in6_u.u6_addr32[i]); in qedr_iw_connect() 700 ntohl(laddr6->sin6_addr.in6_u.u6_addr32[i]); in qedr_iw_create_listen()
|
/kernel/linux/linux-5.10/drivers/staging/gdm724x/ |
D | gdm_lte.c | 193 memcpy(&pseudo_header.ph.ph_src, &ipv6->saddr.in6_u.u6_addr8, 16); in icmp6_checksum() 194 memcpy(&pseudo_header.ph.ph_dst, &ipv6->daddr.in6_u.u6_addr8, 16); in icmp6_checksum() 269 if (memcmp(ipv6_in->saddr.in6_u.u6_addr8, zero_addr8, 16) == 0) in gdm_lte_emulate_ndp() 293 memcpy(ipv6_out.saddr.in6_u.u6_addr8, &na.target_address, 16); in gdm_lte_emulate_ndp() 294 memcpy(ipv6_out.daddr.in6_u.u6_addr8, in gdm_lte_emulate_ndp() 295 ipv6_in->saddr.in6_u.u6_addr8, 16); in gdm_lte_emulate_ndp()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/ |
D | i40iw_cm.c | 203 i40iw_copy_ip_htonl(laddr6->sin6_addr.in6_u.u6_addr32, in i40iw_fill_sockaddr6() 205 i40iw_copy_ip_htonl(raddr6->sin6_addr.in6_u.u6_addr32, in i40iw_fill_sockaddr6() 482 i40iw_copy_ip_htonl(ip6h->saddr.in6_u.u6_addr32, in i40iw_form_cm_frame() 484 i40iw_copy_ip_htonl(ip6h->daddr.in6_u.u6_addr32, in i40iw_form_cm_frame() 1639 i40iw_copy_ip_htonl(laddr6.in6_u.u6_addr32, addr); in i40iw_netdev_vlan_ipv6() 1725 ifp->addr.in6_u.u6_addr32); in i40iw_add_mqh_6() 2070 i40iw_copy_ip_htonl(dst_addr.sin6_addr.in6_u.u6_addr32, dest); in i40iw_addr_resolve_neigh_ipv6() 2073 i40iw_copy_ip_htonl(src_addr.sin6_addr.in6_u.u6_addr32, src); in i40iw_addr_resolve_neigh_ipv6() 2084 neigh = dst_neigh_lookup(dst, dst_addr.sin6_addr.in6_u.u6_addr32); in i40iw_addr_resolve_neigh_ipv6() 2145 i40iw_copy_ip_htonl(raddr6.in6_u.u6_addr32, rem_addr); in i40iw_ipv6_is_loopback() [all …]
|
D | i40iw_utils.c | 245 i40iw_copy_ip_ntohl(local_ipaddr6, ifa->addr.in6_u.u6_addr32); in i40iw_inet6addr_event() 1373 i40iw_copy_ip_ntohl(loc_addr, ip6h->daddr.in6_u.u6_addr32); in i40iw_ieq_get_qp() 1374 i40iw_copy_ip_ntohl(rem_addr, ip6h->saddr.in6_u.u6_addr32); in i40iw_ieq_get_qp()
|
D | i40iw_main.c | 1191 ifp->addr.in6_u.u6_addr32); in i40iw_add_ipv6_addr()
|
/kernel/linux/linux-5.10/drivers/net/dsa/ |
D | bcm_sf2_cfp.c | 745 bcm_sf2_cfp_slice_ipv6(priv, ipv6.key->src.in6_u.u6_addr32, in bcm_sf2_cfp_ipv6_rule_set() 748 bcm_sf2_cfp_slice_ipv6(priv, ipv6.mask->src.in6_u.u6_addr32, in bcm_sf2_cfp_ipv6_rule_set() 801 bcm_sf2_cfp_slice_ipv6(priv, ipv6.key->dst.in6_u.u6_addr32, in bcm_sf2_cfp_ipv6_rule_set() 804 bcm_sf2_cfp_slice_ipv6(priv, ipv6.mask->dst.in6_u.u6_addr32, in bcm_sf2_cfp_ipv6_rule_set()
|
/kernel/linux/linux-5.10/security/tomoyo/ |
D | network.c | 53 u8 * const min = ptr->ip[0].in6_u.u6_addr8; in tomoyo_parse_ipaddr_union() 54 u8 * const max = ptr->ip[1].in6_u.u6_addr8; in tomoyo_parse_ipaddr_union()
|
/kernel/linux/linux-5.10/net/sunrpc/ |
D | addr.c | 203 u8 *addr = (u8 *)&sin6->sin6_addr.in6_u; in rpc_pton6()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
D | chcr_ktls.c | 257 cpl->local_ip_hi = *(__be64 *)&sk->sk_v6_rcv_saddr.in6_u.u6_addr8[0]; in chcr_ktls_act_open_req6() 258 cpl->local_ip_lo = *(__be64 *)&sk->sk_v6_rcv_saddr.in6_u.u6_addr8[8]; in chcr_ktls_act_open_req6() 259 cpl->peer_ip_hi = *(__be64 *)&sk->sk_v6_daddr.in6_u.u6_addr8[0]; in chcr_ktls_act_open_req6() 260 cpl->peer_ip_lo = *(__be64 *)&sk->sk_v6_daddr.in6_u.u6_addr8[8]; in chcr_ktls_act_open_req6() 497 memcpy(daaddr, sk->sk_v6_daddr.in6_u.u6_addr8, 16); in chcr_ktls_dev_add()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
D | ice_ethtool_fdir.c | 11 .in6_u = { 20 .in6_u = {
|
/kernel/linux/linux-5.10/drivers/scsi/be2iscsi/ |
D | be_mgmt.c | 178 &daddr_in6->sin6_addr.in6_u.u6_addr8, 16); in mgmt_open_connection() 182 &daddr_in6->sin6_addr.in6_u.u6_addr8, 16); in mgmt_open_connection()
|
/kernel/linux/linux-5.10/drivers/scsi/qla4xxx/ |
D | ql4_mbx.c | 542 ha->ip_config.ipv6_link_local_addr.in6_u.u6_addr8[0] = 0xFE; in qla4xxx_update_local_ip() 543 ha->ip_config.ipv6_link_local_addr.in6_u.u6_addr8[1] = 0x80; in qla4xxx_update_local_ip() 545 memcpy(&ha->ip_config.ipv6_link_local_addr.in6_u.u6_addr8[8], in qla4xxx_update_local_ip()
|
/kernel/linux/linux-5.10/net/tipc/ |
D | udp_media.c | 704 memcpy(node_id, local.ipv6.in6_u.u6_addr8, 16); in tipc_udp_enable()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/ |
D | offload.c | 657 merge->ipv6.ipv6_src.in6_u.u6_addr32[i] |= in nfp_flower_update_merge_with_actions() 663 merge->ipv6.ipv6_dst.in6_u.u6_addr32[i] |= in nfp_flower_update_merge_with_actions()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_iwarp.c | 1743 ntohl(ip6h->daddr.in6_u.u6_addr32[i]); in qed_iwarp_parse_rx_pkt() 1745 ntohl(ip6h->saddr.in6_u.u6_addr32[i]); in qed_iwarp_parse_rx_pkt()
|
/kernel/linux/linux-5.10/drivers/target/iscsi/ |
D | iscsi_target.c | 278 if (!memcmp(&sock_in6->sin6_addr.in6_u, in iscsit_check_np_match() 279 &sock_in6_e->sin6_addr.in6_u, in iscsit_check_np_match()
|