Lines Matching refs:nw_off
1586 int len, nw_off; in bnxt_gro_func_5731x() local
1618 nw_off = inner_ip_off - ETH_HLEN; in bnxt_gro_func_5731x()
1619 skb_set_network_header(skb, nw_off); in bnxt_gro_func_5731x()
1623 skb_set_transport_header(skb, nw_off + sizeof(struct ipv6hdr)); in bnxt_gro_func_5731x()
1630 skb_set_transport_header(skb, nw_off + sizeof(struct iphdr)); in bnxt_gro_func_5731x()
1653 int iphdr_len, nw_off; in bnxt_gro_func_5750x() local
1659 nw_off = inner_ip_off - ETH_HLEN; in bnxt_gro_func_5750x()
1660 skb_set_network_header(skb, nw_off); in bnxt_gro_func_5750x()
1663 skb_set_transport_header(skb, nw_off + iphdr_len); in bnxt_gro_func_5750x()
1684 int len, nw_off, tcp_opt_len = 0; in bnxt_gro_func_5730x() local
1692 nw_off = payload_off - BNXT_IPV4_HDR_SIZE - tcp_opt_len - in bnxt_gro_func_5730x()
1694 skb_set_network_header(skb, nw_off); in bnxt_gro_func_5730x()
1696 skb_set_transport_header(skb, nw_off + sizeof(struct iphdr)); in bnxt_gro_func_5730x()
1703 nw_off = payload_off - BNXT_IPV6_HDR_SIZE - tcp_opt_len - in bnxt_gro_func_5730x()
1705 skb_set_network_header(skb, nw_off); in bnxt_gro_func_5730x()
1707 skb_set_transport_header(skb, nw_off + sizeof(struct ipv6hdr)); in bnxt_gro_func_5730x()
1716 if (nw_off) /* tunnel */ in bnxt_gro_func_5730x()
12981 static bool bnxt_exthdr_check(struct bnxt *bp, struct sk_buff *skb, int nw_off, in bnxt_exthdr_check() argument
12984 struct ipv6hdr *ip6h = (struct ipv6hdr *)(skb->data + nw_off); in bnxt_exthdr_check()
12993 start = nw_off + sizeof(*ip6h); in bnxt_exthdr_check()