Home
last modified time | relevance | path

Searched refs:tcp_offset (Results 1 – 2 of 2) sorted by relevance

/net/netfilter/ipvs/
Dip_vs_app.c361 const unsigned int tcp_offset = ip_hdrlen(skb); in app_tcp_pkt_out() local
365 if (!skb_make_writable(skb, tcp_offset + sizeof(*th))) in app_tcp_pkt_out()
368 th = (struct tcphdr *)(skb_network_header(skb) + tcp_offset); in app_tcp_pkt_out()
436 const unsigned int tcp_offset = ip_hdrlen(skb); in app_tcp_pkt_in() local
440 if (!skb_make_writable(skb, tcp_offset + sizeof(*th))) in app_tcp_pkt_in()
443 th = (struct tcphdr *)(skb_network_header(skb) + tcp_offset); in app_tcp_pkt_in()
/net/sunrpc/
Dxprtsock.c1145 p = ((char *) &transport->tcp_fraghdr) + transport->tcp_offset; in xs_tcp_read_fraghdr()
1146 len = sizeof(transport->tcp_fraghdr) - transport->tcp_offset; in xs_tcp_read_fraghdr()
1148 transport->tcp_offset += used; in xs_tcp_read_fraghdr()
1160 transport->tcp_offset = 0; in xs_tcp_read_fraghdr()
1174 if (transport->tcp_offset == transport->tcp_reclen) { in xs_tcp_check_fraghdr()
1176 transport->tcp_offset = 0; in xs_tcp_check_fraghdr()
1190 len = sizeof(transport->tcp_xid) - transport->tcp_offset; in xs_tcp_read_xid()
1192 p = ((char *) &transport->tcp_xid) + transport->tcp_offset; in xs_tcp_read_xid()
1194 transport->tcp_offset += used; in xs_tcp_read_xid()
1220 offset = transport->tcp_offset - sizeof(transport->tcp_xid); in xs_tcp_read_calldir()
[all …]