bpf_htonl 32 tools/testing/selftests/bpf/progs/connect4_prog.c tuple.ipv4.daddr = bpf_htonl(DST_REWRITE_IP4); bpf_htonl 56 tools/testing/selftests/bpf/progs/connect4_prog.c ctx->user_ip4 = bpf_htonl(DST_REWRITE_IP4); bpf_htonl 64 tools/testing/selftests/bpf/progs/connect4_prog.c sa.sin_addr.s_addr = bpf_htonl(SRC_REWRITE_IP4); bpf_htonl 40 tools/testing/selftests/bpf/progs/connect6_prog.c tuple.ipv6.daddr[0] = bpf_htonl(DST_REWRITE_IP6_0); bpf_htonl 41 tools/testing/selftests/bpf/progs/connect6_prog.c tuple.ipv6.daddr[1] = bpf_htonl(DST_REWRITE_IP6_1); bpf_htonl 42 tools/testing/selftests/bpf/progs/connect6_prog.c tuple.ipv6.daddr[2] = bpf_htonl(DST_REWRITE_IP6_2); bpf_htonl 43 tools/testing/selftests/bpf/progs/connect6_prog.c tuple.ipv6.daddr[3] = bpf_htonl(DST_REWRITE_IP6_3); bpf_htonl 71 tools/testing/selftests/bpf/progs/connect6_prog.c ctx->user_ip6[0] = bpf_htonl(DST_REWRITE_IP6_0); bpf_htonl 72 tools/testing/selftests/bpf/progs/connect6_prog.c ctx->user_ip6[1] = bpf_htonl(DST_REWRITE_IP6_1); bpf_htonl 73 tools/testing/selftests/bpf/progs/connect6_prog.c ctx->user_ip6[2] = bpf_htonl(DST_REWRITE_IP6_2); bpf_htonl 74 tools/testing/selftests/bpf/progs/connect6_prog.c ctx->user_ip6[3] = bpf_htonl(DST_REWRITE_IP6_3); bpf_htonl 84 tools/testing/selftests/bpf/progs/connect6_prog.c sa.sin6_addr.s6_addr32[0] = bpf_htonl(SRC_REWRITE_IP6_0); bpf_htonl 85 tools/testing/selftests/bpf/progs/connect6_prog.c sa.sin6_addr.s6_addr32[1] = bpf_htonl(SRC_REWRITE_IP6_1); bpf_htonl 86 tools/testing/selftests/bpf/progs/connect6_prog.c sa.sin6_addr.s6_addr32[2] = bpf_htonl(SRC_REWRITE_IP6_2); bpf_htonl 87 tools/testing/selftests/bpf/progs/connect6_prog.c sa.sin6_addr.s6_addr32[3] = bpf_htonl(SRC_REWRITE_IP6_3); bpf_htonl 28 tools/testing/selftests/bpf/progs/sendmsg4_prog.c if (ctx->msg_src_ip4 == bpf_htonl(SRC1_IP4) || bpf_htonl 29 tools/testing/selftests/bpf/progs/sendmsg4_prog.c ctx->msg_src_ip4 == bpf_htonl(SRC2_IP4)) { bpf_htonl 30 tools/testing/selftests/bpf/progs/sendmsg4_prog.c ctx->msg_src_ip4 = bpf_htonl(SRC_REWRITE_IP4); bpf_htonl 37 tools/testing/selftests/bpf/progs/sendmsg4_prog.c if ((ctx->user_ip4 >> 24) == (bpf_htonl(DST_IP4) >> 24) && bpf_htonl 39 tools/testing/selftests/bpf/progs/sendmsg4_prog.c ctx->user_ip4 = bpf_htonl(DST_REWRITE_IP4); bpf_htonl 32 tools/testing/selftests/bpf/progs/sendmsg6_prog.c if (ctx->msg_src_ip6[3] == bpf_htonl(1) || bpf_htonl 33 tools/testing/selftests/bpf/progs/sendmsg6_prog.c ctx->msg_src_ip6[3] == bpf_htonl(0)) { bpf_htonl 34 tools/testing/selftests/bpf/progs/sendmsg6_prog.c ctx->msg_src_ip6[0] = bpf_htonl(SRC_REWRITE_IP6_0); bpf_htonl 35 tools/testing/selftests/bpf/progs/sendmsg6_prog.c ctx->msg_src_ip6[1] = bpf_htonl(SRC_REWRITE_IP6_1); bpf_htonl 36 tools/testing/selftests/bpf/progs/sendmsg6_prog.c ctx->msg_src_ip6[2] = bpf_htonl(SRC_REWRITE_IP6_2); bpf_htonl 37 tools/testing/selftests/bpf/progs/sendmsg6_prog.c ctx->msg_src_ip6[3] = bpf_htonl(SRC_REWRITE_IP6_3); bpf_htonl 44 tools/testing/selftests/bpf/progs/sendmsg6_prog.c if (ctx->user_ip6[0] == bpf_htonl(0xFACEB00C)) { bpf_htonl 45 tools/testing/selftests/bpf/progs/sendmsg6_prog.c ctx->user_ip6[0] = bpf_htonl(DST_REWRITE_IP6_0); bpf_htonl 46 tools/testing/selftests/bpf/progs/sendmsg6_prog.c ctx->user_ip6[1] = bpf_htonl(DST_REWRITE_IP6_1); bpf_htonl 47 tools/testing/selftests/bpf/progs/sendmsg6_prog.c ctx->user_ip6[2] = bpf_htonl(DST_REWRITE_IP6_2); bpf_htonl 48 tools/testing/selftests/bpf/progs/sendmsg6_prog.c ctx->user_ip6[3] = bpf_htonl(DST_REWRITE_IP6_3); bpf_htonl 79 tools/testing/selftests/bpf/progs/test_sock_fields_kern.c return !a6[0] && !a6[1] && !a6[2] && a6[3] == bpf_htonl(1); bpf_htonl 92 tools/testing/selftests/bpf/progs/test_tunnel_kern.c key.remote_ipv6[3] = bpf_htonl(0x11); /* ::11 */ bpf_htonl 152 tools/testing/selftests/bpf/progs/test_tunnel_kern.c md.u.index = bpf_htonl(123); bpf_htonl 221 tools/testing/selftests/bpf/progs/test_tunnel_kern.c key.remote_ipv6[3] = bpf_htonl(0x11); bpf_htonl 236 tools/testing/selftests/bpf/progs/test_tunnel_kern.c md.u.index = bpf_htonl(123); bpf_htonl 362 tools/testing/selftests/bpf/progs/test_tunnel_kern.c key.remote_ipv6[3] = bpf_htonl(0x11); /* ::11 */ bpf_htonl 417 tools/testing/selftests/bpf/progs/test_tunnel_kern.c *(int *) &gopt.opt_data = bpf_htonl(0xdeadbeef); bpf_htonl 468 tools/testing/selftests/bpf/progs/test_tunnel_kern.c key.remote_ipv6[3] = bpf_htonl(0x11); /* ::11 */ bpf_htonl 487 tools/testing/selftests/bpf/progs/test_tunnel_kern.c *(int *) &gopt.opt_data = bpf_htonl(0xfeedbeef); bpf_htonl 599 tools/testing/selftests/bpf/progs/test_tunnel_kern.c key.remote_ipv6[3] = bpf_htonl(0x11); /* ::11 */ bpf_htonl 626 tools/testing/selftests/bpf/progs/test_tunnel_kern.c bpf_trace_printk(fmt, sizeof(fmt), bpf_htonl(key.remote_ipv6[0]), bpf_htonl 627 tools/testing/selftests/bpf/progs/test_tunnel_kern.c bpf_htonl(key.remote_ipv6[3])); bpf_htonl 647 tools/testing/selftests/bpf/progs/test_tunnel_kern.c key.remote_ipv6[0] = bpf_htonl(0x2401db00); bpf_htonl 651 tools/testing/selftests/bpf/progs/test_tunnel_kern.c key.remote_ipv6[3] = bpf_htonl(1); bpf_htonl 659 tools/testing/selftests/bpf/progs/test_tunnel_kern.c key.remote_ipv6[3] = bpf_htonl(1); bpf_htonl 661 tools/testing/selftests/bpf/progs/test_tunnel_kern.c key.remote_ipv6[3] = bpf_htonl(2); bpf_htonl 692 tools/testing/selftests/bpf/progs/test_tunnel_kern.c bpf_trace_printk(fmt, sizeof(fmt), bpf_htonl(key.remote_ipv6[0]), bpf_htonl 693 tools/testing/selftests/bpf/progs/test_tunnel_kern.c bpf_htonl(key.remote_ipv6[3]));