Home
last modified time | relevance | path

Searched refs:l4_prot (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/wangxun/libwx/
Dwx_lib.c1110 u8 tun_prot = 0, l4_prot = 0, ptype = 0; in wx_encode_tx_desc_ptype() local
1163 l4_prot = hdr.ipv4->protocol; in wx_encode_tx_desc_ptype()
1166 wx_get_ipv6_proto(skb, skb_inner_network_offset(skb), &l4_prot); in wx_encode_tx_desc_ptype()
1175 l4_prot = ip_hdr(skb)->protocol; in wx_encode_tx_desc_ptype()
1179 wx_get_ipv6_proto(skb, skb_network_offset(skb), &l4_prot); in wx_encode_tx_desc_ptype()
1186 switch (l4_prot) { in wx_encode_tx_desc_ptype()
1341 u8 l4_prot = 0; in wx_tx_csum() local
1404 l4_prot = network_hdr.ipv4->protocol; in wx_tx_csum()
1408 l4_prot = network_hdr.ipv6->nexthdr; in wx_tx_csum()
1414 switch (l4_prot) { in wx_tx_csum()