Lines Matching refs:bpf_htonl
165 sum += bpf_htonl(len);
166 sum += bpf_htonl(proto);
305 *tsval = bpf_htonl(cookie);
487 *buf++ = bpf_htonl((TCPOPT_MSS << 24) | (TCPOLEN_MSS << 16) | mss);
492 if (tsopt[0] & bpf_htonl(1 << 4))
493 *buf++ = bpf_htonl((TCPOPT_SACK_PERM << 24) |
498 *buf++ = bpf_htonl((TCPOPT_NOP << 24) |
505 if ((tsopt[0] & bpf_htonl(0xf)) != bpf_htonl(0xf))
506 *buf++ = bpf_htonl((TCPOPT_NOP << 24) |
521 if (tsopt && (tsopt[0] & bpf_htonl(1 << 5)))
525 tcp_header->ack_seq = bpf_htonl(bpf_ntohl(tcp_header->seq) + 1);
526 tcp_header->seq = bpf_htonl(cookie);
570 *(__be32 *)hdr->ipv6 = bpf_htonl(0x60000000);