Searched refs:ip_proto (Results 1 – 2 of 2) sorted by relevance
1799 u8 ip_proto; in jme_tx_csum() local1803 ip_proto = ip_hdr(skb)->protocol; in jme_tx_csum()1806 ip_proto = ipv6_hdr(skb)->nexthdr; in jme_tx_csum()1809 ip_proto = 0; in jme_tx_csum()1813 switch (ip_proto) { in jme_tx_csum()
6435 u8 ip_proto; in niu_compute_tx_flags() local6450 ip_proto = ip_hdr(skb)->protocol; in niu_compute_tx_flags()6454 ip_proto = ipv6_hdr(skb)->nexthdr; in niu_compute_tx_flags()6459 ip_proto = ihl = 0; in niu_compute_tx_flags()6467 csum_bits = (ip_proto == IPPROTO_TCP ? in niu_compute_tx_flags()6469 (ip_proto == IPPROTO_UDP ? in niu_compute_tx_flags()