Lines Matching full:l4
201 union hinic_l4 *l4, in get_inner_l3_l4_type() argument
217 if (exthdr != l4->hdr) { in get_inner_l3_l4_type()
229 static void get_inner_l4_info(struct sk_buff *skb, union hinic_l4 *l4, in get_inner_l4_info() argument
242 *l4_len = l4->tcp->doff * 4; in get_inner_l4_info()
243 *offset = *l4_len + TRANSPORT_OFFSET(l4->hdr, skb); in get_inner_l4_info()
249 *offset = TRANSPORT_OFFSET(l4->hdr, skb); in get_inner_l4_info()
259 *offset = TRANSPORT_OFFSET(l4->hdr, skb); in get_inner_l4_info()
281 union hinic_l4 l4; in offload_tso() local
296 l4.hdr = skb_transport_header(skb); in offload_tso()
312 l4.udp->check = ~csum_magic(&ip, IPPROTO_UDP); in offload_tso()
323 l4.hdr = skb_inner_transport_header(skb); in offload_tso()
326 l4.hdr = skb_transport_header(skb); in offload_tso()
336 get_inner_l3_l4_type(skb, &ip, &l4, TX_OFFLOAD_TSO, &l3_offload, in offload_tso()
343 l4.tcp->check = ~csum_magic(&ip, IPPROTO_TCP); in offload_tso()
345 get_inner_l4_info(skb, &l4, TX_OFFLOAD_TSO, l4_proto, &l4_offload, in offload_tso()
362 union hinic_l4 l4; in offload_csum() local
384 l4.hdr = skb_transport_header(skb); in offload_csum()
385 if (l4.hdr != exthdr) in offload_csum()
401 l4.hdr = skb_inner_transport_header(skb); in offload_csum()
410 l4.hdr = skb_transport_header(skb); in offload_csum()
422 l4.hdr = skb_transport_header(skb); in offload_csum()
426 get_inner_l3_l4_type(skb, &ip, &l4, TX_OFFLOAD_CSUM, &l3_type, in offload_csum()
431 get_inner_l4_info(skb, &l4, TX_OFFLOAD_CSUM, l4_proto, &l4_offload, in offload_csum()