Searched refs:payload_len (Results 1 - 3 of 3) sorted by relevance

/darwin-on-arm/xnu/bsd/netinet/
H A Dtcp_lro.c134 int payload_len = 0; local
146 payload_len = ip_hdr->ip_len - off;
204 int hash, u_int32_t timestamp, int payload_len)
217 flow->lr_seq = ntohl(tcp_hdr->th_seq) + payload_len;
224 int payload_len, int drop_hdrlen, struct tcpopt *topt,
235 payload_len);
253 flow->lr_len += payload_len;
254 flow->lr_seq += payload_len;
303 flow->lr_len = payload_len;
307 flow->lr_seq = ntohl(tcphdr->th_seq) + payload_len;
203 tcp_lro_init_flow(int flow_id, struct ip* ip_hdr, struct tcphdr *tcp_hdr, int hash, u_int32_t timestamp, int payload_len) argument
223 tcp_lro_coalesce(int flow_id, struct mbuf *lro_mb, struct tcphdr *tcphdr, int payload_len, int drop_hdrlen, struct tcpopt *topt, u_int32_t* tsval, u_int32_t* tsecr, int thflags) argument
340 tcp_lro_insert_flow(struct mbuf *lro_mb, struct ip *ip_hdr, struct tcphdr *tcp_hdr, int payload_len, int drop_hdrlen, int hash, struct tcpopt *topt, u_int32_t *tsval, u_int32_t *tsecr) argument
413 int payload_len = 0; local
[all...]
H A Dudp_usrreq.c591 int payload_len = len - sizeof(struct udphdr) > 4 ? 4 : len - sizeof(struct udphdr); local
592 if (m->m_len < iphlen + sizeof(struct udphdr) + payload_len) {
593 if ((m = m_pullup(m, iphlen + sizeof(struct udphdr) + payload_len)) == 0) {
608 if (payload_len == 1 && *(u_int8_t*)((caddr_t)uh + sizeof(struct udphdr)) == 0xFF) {
613 else if (payload_len == 4 && *(u_int32_t*)(void *)((caddr_t)uh + sizeof(struct udphdr)) != 0) {
/darwin-on-arm/xnu/bsd/netat/
H A Dddp_r_zip.c1474 u_short payload_len, result; local
1486 payload_len = DDPLEN_VALUE(ddp) - (DDP_X_HDR_SIZE + 2);
1492 while (payload_len > 0 && network_count >0) {
1497 if (payload_len)
1498 payload_len = payload_len -(zname->len + 3);
1504 payload_len =0;

Completed in 29 milliseconds