Searched refs:s6_addr16 (Results 1 – 12 of 12) sorted by relevance
/Linux-v4.19/net/6lowpan/ |
D | debugfs.c | 111 be16_to_cpu(ctx->pfx.s6_addr16[0]), in lowpan_ctx_pfx_show() 112 be16_to_cpu(ctx->pfx.s6_addr16[1]), in lowpan_ctx_pfx_show() 113 be16_to_cpu(ctx->pfx.s6_addr16[2]), in lowpan_ctx_pfx_show() 114 be16_to_cpu(ctx->pfx.s6_addr16[3]), in lowpan_ctx_pfx_show() 115 be16_to_cpu(ctx->pfx.s6_addr16[4]), in lowpan_ctx_pfx_show() 116 be16_to_cpu(ctx->pfx.s6_addr16[5]), in lowpan_ctx_pfx_show() 117 be16_to_cpu(ctx->pfx.s6_addr16[6]), in lowpan_ctx_pfx_show() 118 be16_to_cpu(ctx->pfx.s6_addr16[7])); in lowpan_ctx_pfx_show() 157 ctx->pfx.s6_addr16[i] = cpu_to_be16(addr[i] & 0xffff); in lowpan_ctx_pfx_write()
|
D | iphc.c | 112 ((((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 …]
|
/Linux-v4.19/net/ipv6/netfilter/ |
D | ip6t_NPT.c | 65 for (idx = 4; idx < ARRAY_SIZE(addr->s6_addr16); idx++) { in ip6t_npt_map_pfx() 66 if ((__force __sum16)addr->s6_addr16[idx] != in ip6t_npt_map_pfx() 70 if (idx == ARRAY_SIZE(addr->s6_addr16)) in ip6t_npt_map_pfx() 74 sum = ~csum_fold(csum_add(csum_unfold((__force __sum16)addr->s6_addr16[idx]), in ip6t_npt_map_pfx() 78 *(__force __sum16 *)&addr->s6_addr16[idx] = sum; in ip6t_npt_map_pfx()
|
/Linux-v4.19/samples/bpf/ |
D | map_perf_test_user.c | 164 in6.sin6_addr.s6_addr16[0] = 0xdead; in do_test_lru() 165 in6.sin6_addr.s6_addr16[1] = 0xbeef; in do_test_lru() 169 in6.sin6_addr.s6_addr16[2] = 0; in do_test_lru() 172 in6.sin6_addr.s6_addr16[2] = 1; in do_test_lru() 175 in6.sin6_addr.s6_addr16[2] = 2; in do_test_lru() 178 in6.sin6_addr.s6_addr16[2] = 3; in do_test_lru()
|
D | test_map_in_map_user.c | 85 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()
|
/Linux-v4.19/include/uapi/linux/ |
D | in6.h | 43 #define s6_addr16 in6_u.u6_addr16 macro
|
/Linux-v4.19/security/smack/ |
D | smackfs.c | 1476 newname.s6_addr16[i] = htons(scanned[i]); in smk_write_net6addr() 1500 fullmask.s6_addr16[i] = 0xffff; in smk_write_net6addr() 1503 fullmask.s6_addr16[i] = (1 << m) - 1; in smk_write_net6addr() 1506 fullmask.s6_addr16[i] = 0; in smk_write_net6addr() 1507 newname.s6_addr16[i] &= fullmask.s6_addr16[i]; in smk_write_net6addr() 1522 if (newname.s6_addr16[i] != in smk_write_net6addr() 1523 snp->smk_host.s6_addr16[i]) { in smk_write_net6addr()
|
D | smack_lsm.c | 2457 if ((sap->s6_addr16[i] & snp->smk_mask.s6_addr16[i]) != in smack_ipv6host_label() 2458 snp->smk_host.s6_addr16[i]) { in smack_ipv6host_label()
|
/Linux-v4.19/net/ipv6/ |
D | sit.c | 792 if (v6dst->s6_addr16[0] == htons(0x2002)) { in check_6rd() 794 memcpy(v4dst, &v6dst->s6_addr16[1], 4); in check_6rd()
|
/Linux-v4.19/tools/testing/selftests/bpf/ |
D | test_sock_addr.c | 652 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, ip6.s6_addr16[2], 14), in bind6_prog_load()
|
/Linux-v4.19/lib/ |
D | vsprintf.c | 1065 if (in6.s6_addr16[j] != 0) in ip6_compressed_string() 1094 word = ntohs(in6.s6_addr16[i]); in ip6_compressed_string()
|
/Linux-v4.19/tools/lib/traceevent/ |
D | event-parse.c | 4510 if (in6.s6_addr16[j] != 0) in print_ip6c_addr() 4539 word = ntohs(in6.s6_addr16[i]); in print_ip6c_addr()
|