Home
last modified time | relevance | path

Searched refs:iphlen (Results 1 – 9 of 9) sorted by relevance

/external/qemu/slirp-android/
Dudp.c82 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 …]
Dtcp_input.c233 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/
Dudp.c75 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 …]
Dtcp_input.c233 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/
Dsctp_input.c94 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 …]
Dsctp_indata.c2308 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()
Dsctputil.c4033 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);
Dsctp_output.c5837 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/
Dsctp6_usrreq.c129 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,