Home
last modified time | relevance | path

Searched refs:frag_off (Results 1 – 15 of 15) sorted by relevance

/third_party/openssl/ssl/statem/
Dstatem_dtls.c46 static void dtls1_fix_message_header(SSL *s, size_t frag_off,
52 size_t frag_off,
118 size_t len, frag_off, mac_size, blocksize, used_len; in dtls1_do_write() local
149 frag_off = 0; in dtls1_do_write()
157 if (frag_off > 0) { in dtls1_do_write()
184 frag_off = s->d1->w_msg_hdr.frag_off; in dtls1_do_write()
235 dtls1_fix_message_header(s, frag_off, len - DTLS1_HM_HEADER_LENGTH); in dtls1_do_write()
282 if (frag_off == 0 && s->version != DTLS1_BAD_VER) { in dtls1_do_write()
317 frag_off += written; in dtls1_do_write()
325 dtls1_fix_message_header(s, frag_off, 0); in dtls1_do_write()
[all …]
/third_party/ltp/testcases/network/stress/ns-tools/
Dns-icmpv4_sender.c371 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()
Dns-icmp_redirector.c410 sndip_p->hdr.frag_off = htons(IPV4_DEFAULT_FLAG); in return_icmp4_redirect()
/third_party/iptables/iptables/
Dxtables-monitor.c344 if (iph->frag_off & htons(0x8000)) in trace_print_packet()
346 if (iph->frag_off & htons(IP_DF)) in trace_print_packet()
348 if (iph->frag_off & htons(IP_MF)) in trace_print_packet()
351 if (ntohs(iph->frag_off) & 0x1fff) in trace_print_packet()
352 printf("FRAG:%u ", ntohs(iph->frag_off) & 0x1fff); in trace_print_packet()
Dnft-ipv4.c66 add_payload(r, offsetof(struct iphdr, frag_off), 2, in nft_ipv4_add()
231 case offsetof(struct iphdr, frag_off): in nft_ipv4_parse_payload()
/third_party/mbedtls/library/
Dssl_msg.c2042 const size_t frag_off = p - ( cur->p + 12 ); in mbedtls_ssl_flight_transmit() local
2043 const size_t rem_len = hs_len - frag_off; in mbedtls_ssl_flight_transmit()
2065 if( frag_off == 0 && cur_hs_frag_len != hs_len ) in mbedtls_ssl_flight_transmit()
2077 ssl->out_msg[6] = MBEDTLS_BYTE_2( frag_off ); in mbedtls_ssl_flight_transmit()
2078 ssl->out_msg[7] = MBEDTLS_BYTE_1( frag_off ); in mbedtls_ssl_flight_transmit()
2079 ssl->out_msg[8] = MBEDTLS_BYTE_0( frag_off ); in mbedtls_ssl_flight_transmit()
2548 uint32_t msg_len, frag_off, frag_len; in ssl_check_hs_header() local
2551 frag_off = ssl_get_hs_frag_off( ssl ); in ssl_check_hs_header()
2554 if( frag_off > msg_len ) in ssl_check_hs_header()
2557 if( frag_len > msg_len - frag_off ) in ssl_check_hs_header()
[all …]
/third_party/libnl/include/linux-private/linux/
Dip.h99 __be16 frag_off; member
/third_party/musl/porting/liteos_m/kernel/include/netinet/
Dip.h35 uint16_t frag_off; member
/third_party/musl/porting/liteos_m_iccarm/kernel/include/netinet/
Dip.h35 uint16_t frag_off; member
/third_party/musl/porting/liteos_a/kernel/include/netinet/
Dip.h35 uint16_t frag_off; member
/third_party/musl/include/netinet/
Dip.h35 uint16_t frag_off; member
/third_party/musl/ndk_musl_include/netinet/
Dip.h35 uint16_t frag_off; member
/third_party/musl/porting/uniproton/kernel/include/netinet/
Dip.h35 uint16_t frag_off; member
/third_party/toybox/toys/pending/
Dip.c2484 if (!(ptnl->iph.frag_off & htons(IP_DF))) printf(" nopmtudisc"); in display_tunnel()
2555 ptnl->iph.frag_off = htons(IP_DF); in parse_iptunnel_args()
2636 ptnl->iph.frag_off = 0; in parse_iptunnel_args()
2639 ptnl->iph.frag_off = htons(IP_DF); in parse_iptunnel_args()
2755 if (idx != 2 && iptnl.iph.ttl && !(iptnl.iph.frag_off)) in tunnelupdate()
/third_party/openssl/ssl/
Dssl_local.h1729 size_t frag_off; member
2409 size_t frag_off, size_t frag_len);