Searched refs:ip4h (Results 1 – 4 of 4) sorted by relevance
139 struct iphdr *ip4h; in ipvlan_get_L3_hdr() local141 if (unlikely(!pskb_may_pull(skb, sizeof(*ip4h)))) in ipvlan_get_L3_hdr()144 ip4h = ip_hdr(skb); in ipvlan_get_L3_hdr()145 pktlen = ntohs(ip4h->tot_len); in ipvlan_get_L3_hdr()146 if (ip4h->ihl < 5 || ip4h->version != 4) in ipvlan_get_L3_hdr()148 if (skb->len < pktlen || pktlen < (ip4h->ihl * 4)) in ipvlan_get_L3_hdr()152 lyr3h = ip4h; in ipvlan_get_L3_hdr()320 struct iphdr *ip4h; in ipvlan_addr_lookup() local323 ip4h = (struct iphdr *)lyr3h; in ipvlan_addr_lookup()324 i4addr = use_dest ? &ip4h->daddr : &ip4h->saddr; in ipvlan_addr_lookup()[all …]
295 struct iphdr *ip4h = ip_hdr(skb); in vrf_process_v4_outbound() local301 .flowi4_tos = RT_TOS(ip4h->tos), in vrf_process_v4_outbound()304 .daddr = ip4h->daddr, in vrf_process_v4_outbound()310 if (!ip4h->saddr) { in vrf_process_v4_outbound()311 ip4h->saddr = inet_select_addr(skb_dst(skb)->dev, 0, in vrf_process_v4_outbound()
1465 struct iphdr *ip4h = ip_hdr(skb); in mvneta_skb_tx_csum() local1468 ip_hdr_len = ip4h->ihl; in mvneta_skb_tx_csum()1469 l4_proto = ip4h->protocol; in mvneta_skb_tx_csum()
5037 struct iphdr *ip4h = ip_hdr(skb); in mvpp2_skb_tx_csum() local5040 ip_hdr_len = ip4h->ihl; in mvpp2_skb_tx_csum()5041 l4_proto = ip4h->protocol; in mvpp2_skb_tx_csum()