Home
last modified time | relevance | path

Searched refs:s6_addr16 (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/net/6lowpan/
H A Ddebugfs.c105 be16_to_cpu(ctx->pfx.s6_addr16[0]), in lowpan_ctx_pfx_show()
106 be16_to_cpu(ctx->pfx.s6_addr16[1]), in lowpan_ctx_pfx_show()
107 be16_to_cpu(ctx->pfx.s6_addr16[2]), in lowpan_ctx_pfx_show()
108 be16_to_cpu(ctx->pfx.s6_addr16[3]), in lowpan_ctx_pfx_show()
109 be16_to_cpu(ctx->pfx.s6_addr16[4]), in lowpan_ctx_pfx_show()
110 be16_to_cpu(ctx->pfx.s6_addr16[5]), in lowpan_ctx_pfx_show()
111 be16_to_cpu(ctx->pfx.s6_addr16[6]), in lowpan_ctx_pfx_show()
112 be16_to_cpu(ctx->pfx.s6_addr16[7])); in lowpan_ctx_pfx_show()
151 ctx->pfx.s6_addr16[i] = cpu_to_be16(addr[i] & 0xffff); in lowpan_ctx_pfx_write()
H A Diphc.c112 ((((a)->s6_addr16[4]) == 0) && \
122 ((((a)->s6_addr16[1]) == 0) && \
123 (((a)->s6_addr16[2]) == 0) && \
124 (((a)->s6_addr16[3]) == 0) && \
125 (((a)->s6_addr16[4]) == 0) && \
130 ((((a)->s6_addr16[1]) == 0) && \
131 (((a)->s6_addr16[2]) == 0) && \
132 (((a)->s6_addr16[3]) == 0) && \
133 (((a)->s6_addr16[4]) == 0) && \
134 (((a)->s6_addr16[5]) == 0) && \
[all …]
/openbmc/linux/net/ipv6/netfilter/
H A Dip6t_NPT.c62 for (idx = 4; idx < ARRAY_SIZE(addr->s6_addr16); idx++) { in ip6t_npt_map_pfx()
63 if ((__force __sum16)addr->s6_addr16[idx] != in ip6t_npt_map_pfx()
67 if (idx == ARRAY_SIZE(addr->s6_addr16)) in ip6t_npt_map_pfx()
71 sum = ~csum_fold(csum_add(csum_unfold((__force __sum16)addr->s6_addr16[idx]), in ip6t_npt_map_pfx()
75 *(__force __sum16 *)&addr->s6_addr16[idx] = sum; in ip6t_npt_map_pfx()
/openbmc/linux/samples/bpf/
H A Dmap_perf_test_user.c168 in6.sin6_addr.s6_addr16[0] = 0xdead; in do_test_lru()
169 in6.sin6_addr.s6_addr16[1] = 0xbeef; in do_test_lru()
173 in6.sin6_addr.s6_addr16[2] = 0; in do_test_lru()
176 in6.sin6_addr.s6_addr16[2] = 1; in do_test_lru()
179 in6.sin6_addr.s6_addr16[2] = 2; in do_test_lru()
182 in6.sin6_addr.s6_addr16[2] = 3; in do_test_lru()
H A Dtest_map_in_map_user.c85 in6.sin6_addr.s6_addr16[0] = 0xdead; in test_map_in_map()
86 in6.sin6_addr.s6_addr16[1] = 0xbeef; in test_map_in_map()
92 in6.sin6_addr.s6_addr16[7] = i; in test_map_in_map()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_do_redirect.c32 .iph.saddr.s6_addr16 = {bpf_htons(0xfc00), 0, 0, 0, 0, 0, 0, bpf_htons(1)},
33 .iph.daddr.s6_addr16 = {bpf_htons(0xfc00), 0, 0, 0, 0, 0, 0, bpf_htons(2)},
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_misc_tcp_hdr_options.c103 if (hdr.ip6.saddr.s6_addr16[7] != last_addr16_n || in __check_active_hdr_in()
104 hdr.ip6.daddr.s6_addr16[7] != last_addr16_n) in __check_active_hdr_in()
/openbmc/linux/include/uapi/linux/
H A Din6.h43 #define s6_addr16 in6_u.u6_addr16 macro
/openbmc/linux/security/smack/
H A Dsmackfs.c1480 newname.s6_addr16[i] = htons(scanned[i]); in smk_write_net6addr()
1504 fullmask.s6_addr16[i] = 0xffff; in smk_write_net6addr()
1507 fullmask.s6_addr16[i] = (1 << m) - 1; in smk_write_net6addr()
1510 fullmask.s6_addr16[i] = 0; in smk_write_net6addr()
1511 newname.s6_addr16[i] &= fullmask.s6_addr16[i]; in smk_write_net6addr()
1526 if (newname.s6_addr16[i] != in smk_write_net6addr()
1527 snp->smk_host.s6_addr16[i]) { in smk_write_net6addr()
H A Dsmack_lsm.c2534 if ((sap->s6_addr16[i] & snp->smk_mask.s6_addr16[i]) != in smack_ipv6host_label()
2535 snp->smk_host.s6_addr16[i]) { in smack_ipv6host_label()
/openbmc/openbmc/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/
H A D0001-libc-compat.h-fix-some-issues-arising-from-in6.h.patch43 - * additional in6_addr macros e.g. s6_addr16, and s6_addr32. */
/openbmc/linux/net/ipv6/
H A Dsit.c831 if (v6dst->s6_addr16[0] == htons(0x2002)) { in check_6rd()
833 memcpy(v4dst, &v6dst->s6_addr16[1], 4); in check_6rd()
/openbmc/linux/lib/
H A Dvsprintf.c1385 if (in6.s6_addr16[j] != 0) in ip6_compressed_string()
1414 word = ntohs(in6.s6_addr16[i]); in ip6_compressed_string()
/openbmc/linux/drivers/s390/net/
H A Dqeth_l3_main.c1684 l3_hdr->next_hop.addr.s6_addr16[0] = htons(0xfe80); in qeth_l3_fill_header()