Lines Matching full:seg
96 static void __tcpv6_gso_segment_csum(struct sk_buff *seg, in __tcpv6_gso_segment_csum() argument
104 th = tcp_hdr(seg); in __tcpv6_gso_segment_csum()
105 inet_proto_csum_replace2(&th->check, seg, *oldport, newport, false); in __tcpv6_gso_segment_csum()
113 struct sk_buff *seg; in __tcpv6_gso_segment_list_csum() local
117 seg = segs; in __tcpv6_gso_segment_list_csum()
118 th = tcp_hdr(seg); in __tcpv6_gso_segment_list_csum()
119 iph = ipv6_hdr(seg); in __tcpv6_gso_segment_list_csum()
120 th2 = tcp_hdr(seg->next); in __tcpv6_gso_segment_list_csum()
121 iph2 = ipv6_hdr(seg->next); in __tcpv6_gso_segment_list_csum()
128 while ((seg = seg->next)) { in __tcpv6_gso_segment_list_csum()
129 th2 = tcp_hdr(seg); in __tcpv6_gso_segment_list_csum()
130 iph2 = ipv6_hdr(seg); in __tcpv6_gso_segment_list_csum()
134 __tcpv6_gso_segment_csum(seg, &th2->source, th->source); in __tcpv6_gso_segment_list_csum()
135 __tcpv6_gso_segment_csum(seg, &th2->dest, th->dest); in __tcpv6_gso_segment_list_csum()