Lines Matching full:seg
31 static void __tcpv4_gso_segment_csum(struct sk_buff *seg, in __tcpv4_gso_segment_csum() argument
41 th = tcp_hdr(seg); in __tcpv4_gso_segment_csum()
42 iph = ip_hdr(seg); in __tcpv4_gso_segment_csum()
44 inet_proto_csum_replace4(&th->check, seg, *oldip, newip, true); in __tcpv4_gso_segment_csum()
45 inet_proto_csum_replace2(&th->check, seg, *oldport, newport, false); in __tcpv4_gso_segment_csum()
56 struct sk_buff *seg; in __tcpv4_gso_segment_list_csum() local
60 seg = segs; in __tcpv4_gso_segment_list_csum()
61 th = tcp_hdr(seg); in __tcpv4_gso_segment_list_csum()
62 iph = ip_hdr(seg); in __tcpv4_gso_segment_list_csum()
63 th2 = tcp_hdr(seg->next); in __tcpv4_gso_segment_list_csum()
64 iph2 = ip_hdr(seg->next); in __tcpv4_gso_segment_list_csum()
70 while ((seg = seg->next)) { in __tcpv4_gso_segment_list_csum()
71 th2 = tcp_hdr(seg); in __tcpv4_gso_segment_list_csum()
72 iph2 = ip_hdr(seg); in __tcpv4_gso_segment_list_csum()
74 __tcpv4_gso_segment_csum(seg, in __tcpv4_gso_segment_list_csum()
77 __tcpv4_gso_segment_csum(seg, in __tcpv4_gso_segment_list_csum()