Searched refs:frag_off (Results 1 - 12 of 12) sorted by relevance

/external/boringssl/src/ssl/
H A Dd1_both.c146 static void dtls1_fix_message_header(SSL *s, unsigned long frag_off,
265 unsigned int len, frag_off; local
290 frag_off = 0;
307 * calls to |dtls1_do_write|, |frag_off| will be wrong. */
340 dtls1_fix_message_header(s, frag_off, len - DTLS1_HM_HEADER_LENGTH);
377 frag_off += (ret -= DTLS1_HM_HEADER_LENGTH);
497 const size_t frag_off = msg_hdr.frag_off; local
500 if (frag_off > msg_len || frag_off
839 dtls1_set_message_header(SSL *s, uint8_t mt, unsigned long len, unsigned short seq_num, unsigned long frag_off, unsigned long frag_len) argument
851 dtls1_fix_message_header(SSL *s, unsigned long frag_off, unsigned long frag_len) argument
[all...]
H A Dinternal.h717 uint32_t frag_off; member in struct:hm_header_st
932 unsigned short seq_num, unsigned long frag_off,
H A Dd1_pkt.c652 if (msg_hdr.frag_off == 0) {
/external/android-clat/
H A Dtranslate.c133 ip->frag_off = htons(IP_DF);
180 uint16_t frag_flags = ntohs(old_header->frag_off);
181 uint16_t frag_off = frag_flags & IP_OFFMASK; local
182 if (frag_off == 0 && (frag_flags & IP_MF) == 0) {
190 frag_hdr->ip6f_offlg = htons(frag_off << 3);
208 uint16_t frag_off = (ntohs(frag_hdr->ip6f_offlg & IP6F_OFF_MASK) >> 3); local
210 frag_off |= IP_MF;
212 ip_targ->frag_off = htons(frag_off);
H A Dclatd_microbenchmark.c99 .frag_off = htons(IP_DF),
H A Ddump.c44 frag_flags = ntohs(header->frag_off);
H A Dclatd_test.cpp181 return ntohs(ip->frag_off) & (IP_OFFMASK | IP_MF);
194 return ntohs(ip->frag_off) & IP_OFFMASK;
358 ip->frag_off &= ~htons(IP_MF);
/external/kernel-headers/original/uapi/linux/
H A Dip.h98 __be16 frag_off; member in struct:iphdr
/external/iproute2/ip/
H A Diptunnel.c64 p->iph.frag_off = htons(IP_DF);
156 p->iph.frag_off = 0;
158 p->iph.frag_off = htons(IP_DF);
265 if (p.iph.ttl && p.iph.frag_off == 0) {
361 if (!(p->iph.frag_off&htons(IP_DF)))
/external/iputils/
H A Dping.c1297 printf(" %1x %04x", ((ip->frag_off) & 0xe000) >> 13,
1298 (ip->frag_off) & 0x1fff);
/external/iputils/Modules/
H A Dpg3.c279 iph->frag_off = 0;
/external/toybox/toys/pending/
H A Dip.c2378 if (!(ptnl->iph.frag_off & htons(IP_DF))) printf(" nopmtudisc");
2448 // frag_off is measured in units of 8 octets (64 bits)
2449 ptnl->iph.frag_off = htons(IP_DF);
2530 ptnl->iph.frag_off = 0;
2533 ptnl->iph.frag_off = htons(IP_DF);
2649 if (idx != 2 && iptnl.iph.ttl && !(iptnl.iph.frag_off))

Completed in 1609 milliseconds