Home
last modified time | relevance | path

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

/external/chromium_org/third_party/boringssl/src/ssl/
Dd1_both.c165 static void dtls1_fix_message_header(SSL *s, unsigned long frag_off,
170 unsigned long len, unsigned short seq_num, unsigned long frag_off,
236 unsigned int len, frag_off, mac_size, blocksize; in dtls1_do_write() local
299 frag_off = 0; in dtls1_do_write()
336 dtls1_fix_message_header(s, frag_off, in dtls1_do_write()
376 if (frag_off == 0) in dtls1_do_write()
411 frag_off += (ret -= DTLS1_HM_HEADER_LENGTH); in dtls1_do_write()
500 size_t frag_off,frag_len,msg_len; in dtls1_preprocess_fragment() local
503 frag_off = msg_hdr->frag_off; in dtls1_preprocess_fragment()
507 if ( (frag_off+frag_len) > msg_len) in dtls1_preprocess_fragment()
[all …]
Dd1_pkt.c331 ((PQ_64BIT)s->d1->r_msg_hdr.frag_off);
1047 unsigned int frag_off; in dtls1_read_bytes()
1051 n2l3(p, frag_off); in dtls1_read_bytes()
1055 frag_off, &found); in dtls1_read_bytes()
1585 if ( s->d1->r_msg_hdr.frag_off == 0) /* waiting for a new msg */ in dtls1_dispatch_alert()
1594 l2n3(s->d1->r_msg_hdr.frag_off, ptr); in dtls1_dispatch_alert()
1683 *offset = msg_hdr.frag_off;
1699 msg_hdr.frag_off < s->d1->r_msg_hdr.frag_off)
1703 msg_hdr.frag_off == s->d1->r_msg_hdr.frag_off))
Dssl_locl.h936 unsigned long frag_off, unsigned long frag_len);
947 unsigned long frag_off, int *found);
/external/openssl/ssl/
Dd1_both.c162 static void dtls1_fix_message_header(SSL *s, unsigned long frag_off,
167 unsigned long len, unsigned short seq_num, unsigned long frag_off,
233 unsigned int len, frag_off, mac_size, blocksize; in dtls1_do_write() local
291 frag_off = 0; in dtls1_do_write()
328 dtls1_fix_message_header(s, frag_off, in dtls1_do_write()
368 if (frag_off == 0 && s->version != DTLS1_BAD_VER) in dtls1_do_write()
403 frag_off += (ret -= DTLS1_HM_HEADER_LENGTH); in dtls1_do_write()
488 size_t frag_off,frag_len,msg_len; in dtls1_preprocess_fragment() local
491 frag_off = msg_hdr->frag_off; in dtls1_preprocess_fragment()
495 if ( (frag_off+frag_len) > msg_len) in dtls1_preprocess_fragment()
[all …]
Dd1_pkt.c341 ((PQ_64BIT)s->d1->r_msg_hdr.frag_off);
1150 unsigned int frag_off; in dtls1_read_bytes()
1154 n2l3(p, frag_off); in dtls1_read_bytes()
1158 frag_off, &found); in dtls1_read_bytes()
1710 if ( s->d1->r_msg_hdr.frag_off == 0) /* waiting for a new msg */ in dtls1_dispatch_alert()
1719 l2n3(s->d1->r_msg_hdr.frag_off, ptr); in dtls1_dispatch_alert()
1808 *offset = msg_hdr.frag_off;
1824 msg_hdr.frag_off < s->d1->r_msg_hdr.frag_off)
1828 msg_hdr.frag_off == s->d1->r_msg_hdr.frag_off))
Ddtls1.h147 unsigned long frag_off; member
Dssl_locl.h972 unsigned long frag_off, unsigned long frag_len);
983 unsigned long frag_off, int *found);
/external/bluetooth/bluedroid/stack/avdt/
Davdt_scb_act.c506 p_scb->frag_off = 0; in avdt_scb_hdl_pkt_frag()
530 al_len, p_scb->media_buf_len, p_scb->frag_org_len, p_scb->frag_off); in avdt_scb_hdl_pkt_frag()
533 if(al_len != p_scb->frag_org_len - p_scb->frag_off) in avdt_scb_hdl_pkt_frag()
536 al_len, p_scb->frag_org_len, p_scb->frag_off, in avdt_scb_hdl_pkt_frag()
537 (p_scb->frag_org_len- p_scb->frag_off)); in avdt_scb_hdl_pkt_frag()
542 if (p_scb->frag_off == 0) in avdt_scb_hdl_pkt_frag()
549 … if((p_scb->frag_org_len <= p_scb->frag_off) || (p_scb->frag_org_len >= p_scb->media_buf_len)) in avdt_scb_hdl_pkt_frag()
552 p_scb->frag_off, p_scb->frag_org_len, p_scb->media_buf_len); in avdt_scb_hdl_pkt_frag()
557 p_scb->frag_org_len, p_scb->frag_off, al_len, frag_len); in avdt_scb_hdl_pkt_frag()
560 memcpy(p_scb->p_media_buf + p_scb->frag_off, p, frag_len); in avdt_scb_hdl_pkt_frag()
[all …]
Davdt_api.c1248 || p_scb->frag_off != 0 in AVDT_WriteDataReq()
1253 p_scb->p_pkt, p_scb->p_ccb, GKI_queue_is_empty(&p_scb->frag_q), p_scb->frag_off); in AVDT_WriteDataReq()
Davdt_int.h504 UINT32 frag_off; /* length of already received media fragments */ member
/external/android-clat/
Dtranslate.c133 ip->frag_off = htons(IP_DF); in fill_ip_header()
180 uint16_t frag_flags = ntohs(old_header->frag_off); in maybe_fill_frag_header()
181 uint16_t frag_off = frag_flags & IP_OFFMASK; in maybe_fill_frag_header() local
182 if (frag_off == 0 && (frag_flags & IP_MF) == 0) { in maybe_fill_frag_header()
190 frag_hdr->ip6f_offlg = htons(frag_off << 3); in maybe_fill_frag_header()
208 uint16_t frag_off = (ntohs(frag_hdr->ip6f_offlg & IP6F_OFF_MASK) >> 3); in parse_frag_header() local
210 frag_off |= IP_MF; in parse_frag_header()
212 ip_targ->frag_off = htons(frag_off); in parse_frag_header()
Dclatd_test.cpp181 return ntohs(ip->frag_off) & (IP_OFFMASK | IP_MF); in is_ipv4_fragment()
194 return ntohs(ip->frag_off) & IP_OFFMASK; in ipv4_fragment_offset()
358 ip->frag_off &= ~htons(IP_MF); in reassemble_packet()
Ddump.c44 frag_flags = ntohs(header->frag_off); in dump_ip()
/external/iproute2/ip/
Diptunnel.c64 p->iph.frag_off = htons(IP_DF); in parse_args()
156 p->iph.frag_off = 0; in parse_args()
158 p->iph.frag_off = htons(IP_DF); in parse_args()
265 if (p.iph.ttl && p.iph.frag_off == 0) { in do_add()
361 if (!(p->iph.frag_off&htons(IP_DF))) in print_tunnel()
/external/chromium_org/third_party/boringssl/src/include/openssl/
Ddtls1.h135 unsigned long frag_off; member
/external/openssl/include/openssl/
Ddtls1.h147 unsigned long frag_off; member
/external/kernel-headers/original/uapi/linux/
Dip.h98 __be16 frag_off; member
/external/iputils/
Dping.c1297 printf(" %1x %04x", ((ip->frag_off) & 0xe000) >> 13, in pr_iph()
1298 (ip->frag_off) & 0x1fff); in pr_iph()
/external/iputils/Modules/
Dpg3.c279 iph->frag_off = 0; in fill_packet()