/external/qemu/slirp-android/ |
D | udp.c | 82 udp_input(register struct mbuf *m, int iphlen) in udp_input() argument 93 DEBUG_ARG("iphlen = %d", iphlen); in udp_input() 103 if(iphlen > sizeof(struct ip)) { in udp_input() 105 iphlen = sizeof(struct ip); in udp_input() 112 uh = (struct udphdr *)((caddr_t)ip + iphlen); in udp_input() 165 save_ip.ip_len+= iphlen; /* tcp_input subtracts this */ in udp_input() 272 iphlen += sizeof(struct udphdr); in udp_input() 273 m->m_len -= iphlen; in udp_input() 274 m->m_data += iphlen; in udp_input() 283 m->m_len += iphlen; in udp_input() [all …]
|
D | tcp_input.c | 233 tcp_input(struct mbuf *m, int iphlen, struct socket *inso) in tcp_input() argument 253 (long )m, iphlen, (long )inso )); in tcp_input() 279 if (iphlen > sizeof(struct ip )) { in tcp_input() 281 iphlen=sizeof(struct ip ); in tcp_input() 292 save_ip.ip_len+= iphlen; in tcp_input()
|
/external/qemu/slirp/ |
D | udp.c | 75 udp_input(register struct mbuf *m, int iphlen) in udp_input() argument 86 DEBUG_ARG("iphlen = %d", iphlen); in udp_input() 96 if(iphlen > sizeof(struct ip)) { in udp_input() 98 iphlen = sizeof(struct ip); in udp_input() 105 uh = (struct udphdr *)((caddr_t)ip + iphlen); in udp_input() 127 save_ip.ip_len+= iphlen; /* tcp_input subtracts this */ in udp_input() 222 iphlen += sizeof(struct udphdr); in udp_input() 223 m->m_len -= iphlen; in udp_input() 224 m->m_data += iphlen; in udp_input() 233 m->m_len += iphlen; in udp_input() [all …]
|
D | tcp_input.c | 233 tcp_input(struct mbuf *m, int iphlen, struct socket *inso) in tcp_input() argument 253 (long )m, iphlen, (long )inso )); in tcp_input() 279 if (iphlen > sizeof(struct ip )) { in tcp_input() 281 iphlen=sizeof(struct ip ); in tcp_input() 292 save_ip.ip_len+= iphlen; in tcp_input()
|
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
D | sctp_input.c | 94 sctp_handle_init(struct mbuf *m, int iphlen, int offset, in sctp_handle_init() argument 114 sctp_abort_association(inp, stcb, m, iphlen, src, dst, sh, op_err, in sctp_handle_init() 128 sctp_abort_association(inp, stcb, m, iphlen, src, dst, sh, op_err, in sctp_handle_init() 140 sctp_abort_association(inp, stcb, m, iphlen, src, dst, sh, op_err, in sctp_handle_init() 152 sctp_abort_association(inp, stcb, m, iphlen, src, dst, sh, op_err, in sctp_handle_init() 164 sctp_abort_association(inp, stcb, m, iphlen, src, dst, sh, op_err, in sctp_handle_init() 178 sctp_abort_association(inp, stcb, m, iphlen, src, dst, sh, op_err, in sctp_handle_init() 208 sctp_send_abort(m, iphlen, src, dst, sh, 0, op_err, in sctp_handle_init() 223 sctp_send_initiate_ack(inp, stcb, m, iphlen, offset, src, dst, in sctp_handle_init() 456 sctp_process_init_ack(struct mbuf *m, int iphlen, int offset, in sctp_process_init_ack() argument [all …]
|
D | sctp_indata.c | 2308 sctp_process_data(struct mbuf **mm, int iphlen, int *offset, int length, in sctp_process_data() argument 2408 sctp_abort_association(inp, stcb, m, iphlen, in sctp_process_data() 2425 sctp_abort_association(inp, stcb, m, iphlen, in sctp_process_data() 2495 m, iphlen, in sctp_process_data() 2566 sctp_send_packet_dropped(stcb, net, *mm, length, iphlen, 0); in sctp_process_data()
|
D | sctputil.c | 4033 struct mbuf *m, int iphlen, argument 4055 sctp_send_abort(m, iphlen, src, dst, sh, vtag, op_err, 4221 sctp_handle_ootb(struct mbuf *m, int iphlen, int offset, argument 4290 sctp_send_abort(m, iphlen, src, dst, sh, 0, cause, 4303 sctp_is_there_an_abort_here(struct mbuf *m, int iphlen, uint32_t * vtagfill) argument 4310 offset = iphlen + sizeof(struct sctphdr);
|
D | sctp_output.c | 5837 struct mbuf *init_pkt, int iphlen, int offset, argument 5895 sctp_send_abort(init_pkt, iphlen, src, dst, sh, 0, op_err, 5915 sctp_send_abort(init_pkt, iphlen, src, dst, sh, 12061 struct mbuf *m, int len, int iphlen, int bad_crc) argument 12093 len -= iphlen; 12096 offset = iphlen + sizeof(struct sctphdr); 12201 m_copydata(m, iphlen, len, (caddr_t)datap); 12684 sctp_send_abort(struct mbuf *m, int iphlen, struct sockaddr *src, struct sockaddr *dst, argument 12692 if (sctp_is_there_an_abort_here(m, iphlen, &vtag)) {
|
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet6/ |
D | sctp6_usrreq.c | 129 int iphlen; local 150 iphlen = sizeof(struct ip6_hdr); 152 iphlen = *offp; 228 offset = iphlen + sizeof(struct sctphdr) + sizeof(struct sctp_chunkhdr); 230 IP6_EXTHDR_GET(sh, struct sctphdr *, m, iphlen, 281 length = ntohs(ip6->ip6_plen) + iphlen; 312 sctp_common_input_processing(&m, iphlen, offset, length,
|