/external/android-clat/ |
D | translate.c | 134 ip->frag_off = htons(IP_DF); in fill_ip_header() 181 uint16_t frag_flags = ntohs(old_header->frag_off); in maybe_fill_frag_header() 182 uint16_t frag_off = frag_flags & IP_OFFMASK; in maybe_fill_frag_header() local 183 if (frag_off == 0 && (frag_flags & IP_MF) == 0) { in maybe_fill_frag_header() 191 frag_hdr->ip6f_offlg = htons(frag_off << 3); in maybe_fill_frag_header() 209 uint16_t frag_off = (ntohs(frag_hdr->ip6f_offlg & IP6F_OFF_MASK) >> 3); in parse_frag_header() local 211 frag_off |= IP_MF; in parse_frag_header() 213 ip_targ->frag_off = htons(frag_off); in parse_frag_header()
|
D | clatd_test.cpp | 189 return ntohs(ip->frag_off) & (IP_OFFMASK | IP_MF); in is_ipv4_fragment() 202 return ntohs(ip->frag_off) & IP_OFFMASK; in ipv4_fragment_offset() 365 ip->frag_off &= ~htons(IP_MF); in reassemble_packet()
|
D | dump.c | 45 frag_flags = ntohs(header->frag_off); in dump_ip()
|
/external/boringssl/src/ssl/ |
D | d1_both.cc | 362 const size_t frag_off = msg_hdr.frag_off; in dtls1_open_handshake() local 365 if (frag_off > msg_len || frag_off + frag_len < frag_off || in dtls1_open_handshake() 366 frag_off + frag_len > msg_len || in dtls1_open_handshake() 400 OPENSSL_memcpy(frag->data + DTLS1_HM_HEADER_LENGTH + frag_off, in dtls1_open_handshake() 402 dtls1_hm_fragment_mark(frag, frag_off, frag_off + frag_len); in dtls1_open_handshake() 466 !CBS_get_u24(cbs, &out_hdr->frag_off) || in dtls1_parse_fragment() 675 hdr.frag_off != 0 || in seal_next_message()
|
D | d1_pkt.cc | 158 if (msg_hdr.frag_off == 0) { in dtls1_open_app_data()
|
D | internal.h | 2493 uint32_t frag_off;
|
/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-icmpv4_sender.c | 371 pkt.hdr.frag_off = htons(IPV4_DEFAULT_FLAG); in create_clean_packet() 446 pkt->hdr.frag_off |= htonl(0x80000000); in thrust_fakes() 454 pkt->hdr.frag_off |= htons(0x2000); in thrust_fakes() 462 pkt->hdr.frag_off &= htons(0xbfff); in thrust_fakes() 473 pkt->hdr.frag_off |= htons(seed); in thrust_fakes()
|
D | ns-icmp_redirector.c | 410 sndip_p->hdr.frag_off = htons(IPV4_DEFAULT_FLAG); in return_icmp4_redirect()
|
/external/linux-kselftest/tools/testing/selftests/bpf/progs/ |
D | bpf_flow.c | 56 __be16 frag_off; member 286 if (iph->frag_off & bpf_htons(IP_MF | IP_OFFSET)) { in PROG() 288 if (iph->frag_off & bpf_htons(IP_OFFSET)) { in PROG() 363 if (!(fragh->frag_off & bpf_htons(IP6_OFFSET))) { in PROG()
|
D | test_xdp.c | 132 iph->frag_off = 0; in handle_ipv4()
|
D | test_xdp_loop.c | 128 iph->frag_off = 0; in handle_ipv4()
|
D | test_xdp_noinline.c | 352 iph->frag_off = 0; in encap_v4() 677 if (iph->frag_off & 65343) in process_l3_headers_v4()
|
D | test_l4lb.c | 382 if (iph->frag_off & PCKT_FRAGMENTED) in process_packet()
|
D | test_l4lb_noinline.c | 382 if (iph->frag_off & PCKT_FRAGMENTED) in process_packet()
|
/external/iptables/iptables/ |
D | xtables-monitor.c | 341 if (iph->frag_off & htons(0x8000)) in trace_print_packet() 343 if (iph->frag_off & htons(IP_DF)) in trace_print_packet() 345 if (iph->frag_off & htons(IP_MF)) in trace_print_packet() 348 if (ntohs(iph->frag_off) & 0x1fff) in trace_print_packet() 349 printf("FRAG:%u ", ntohs(iph->frag_off) & 0x1fff); in trace_print_packet()
|
D | nft-ipv4.c | 64 add_payload(r, offsetof(struct iphdr, frag_off), 2, in nft_ipv4_add() 227 case offsetof(struct iphdr, frag_off): in nft_ipv4_parse_payload()
|
/external/iproute2/ip/ |
D | iptunnel.c | 72 p->iph.frag_off = htons(IP_DF); in parse_args() 125 p->iph.frag_off = 0; in parse_args() 127 p->iph.frag_off = htons(IP_DF); in parse_args() 270 if (p.iph.ttl && p.iph.frag_off == 0) { in do_add() 349 if (!(p->iph.frag_off & htons(IP_DF))) in print_tunnel()
|
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | flow_dissector.c | 71 __be16 frag_off; member 197 .iph.frag_off = __bpf_constant_htons(IP_MF), 223 .iph.frag_off = __bpf_constant_htons(IP_MF),
|
/external/libnl/include/linux-private/linux/ |
D | ip.h | 98 __be16 frag_off; member
|
/external/iproute2/include/uapi/linux/ |
D | ip.h | 99 __be16 frag_off; member
|
/external/kernel-headers/original/uapi/linux/ |
D | ip.h | 99 __be16 frag_off; member
|
/external/iputils/ |
D | ping.c | 1297 printf(" %1x %04x", ((ip->frag_off) & 0xe000) >> 13, in pr_iph() 1298 (ip->frag_off) & 0x1fff); in pr_iph()
|
/external/iputils/Modules/ |
D | pg3.c | 279 iph->frag_off = 0; in fill_packet()
|
/external/toybox/toys/pending/ |
D | ip.c | 2485 if (!(ptnl->iph.frag_off & htons(IP_DF))) printf(" nopmtudisc"); in display_tunnel() 2556 ptnl->iph.frag_off = htons(IP_DF); in parse_iptunnel_args() 2637 ptnl->iph.frag_off = 0; in parse_iptunnel_args() 2640 ptnl->iph.frag_off = htons(IP_DF); in parse_iptunnel_args() 2756 if (idx != 2 && iptnl.iph.ttl && !(iptnl.iph.frag_off)) in tunnelupdate()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | psock_tpacket.c | 165 ip->frag_off = 0; in create_payload()
|