Searched refs:l4_proto (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/net/openvswitch/
H A Dactions.c303 static void update_ipv6_checksum(struct sk_buff *skb, u8 l4_proto, update_ipv6_checksum() argument
308 if (l4_proto == NEXTHDR_TCP) { update_ipv6_checksum()
312 } else if (l4_proto == NEXTHDR_UDP) { update_ipv6_checksum()
323 } else if (l4_proto == NEXTHDR_ICMP) { update_ipv6_checksum()
339 static void set_ipv6_addr(struct sk_buff *skb, u8 l4_proto, set_ipv6_addr() argument
344 update_ipv6_checksum(skb, l4_proto, addr, new_addr); set_ipv6_addr()
/linux-4.1.27/drivers/net/ethernet/marvell/
H A Dmvneta.c1228 int ip_hdr_len, int l4_proto) mvneta_txq_desc_csum()
1244 if (l4_proto == IPPROTO_TCP) mvneta_txq_desc_csum()
1246 else if (l4_proto == IPPROTO_UDP) mvneta_txq_desc_csum()
1404 u8 l4_proto; mvneta_skb_tx_csum() local
1411 l4_proto = ip4h->protocol; mvneta_skb_tx_csum()
1418 l4_proto = ip6h->nexthdr; mvneta_skb_tx_csum()
1423 l3_proto, ip_hdr_len, l4_proto); mvneta_skb_tx_csum()
1227 mvneta_txq_desc_csum(int l3_offs, int l3_proto, int ip_hdr_len, int l4_proto) mvneta_txq_desc_csum() argument
H A Dmvpp2.c4250 int ip_hdr_len, int l4_proto) mvpp2_txq_desc_csum()
4268 if (l4_proto == IPPROTO_TCP) { mvpp2_txq_desc_csum()
4271 } else if (l4_proto == IPPROTO_UDP) { mvpp2_txq_desc_csum()
4959 u8 l4_proto; mvpp2_skb_tx_csum() local
4966 l4_proto = ip4h->protocol; mvpp2_skb_tx_csum()
4973 l4_proto = ip6h->nexthdr; mvpp2_skb_tx_csum()
4979 skb->protocol, ip_hdr_len, l4_proto); mvpp2_skb_tx_csum()
4249 mvpp2_txq_desc_csum(int l3_offs, int l3_proto, int ip_hdr_len, int l4_proto) mvpp2_txq_desc_csum() argument

Completed in 183 milliseconds