Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/wangxun/libwx/
Dwx_lib.c1178 u8 tun_prot = 0, l4_prot = 0, ptype = 0; in wx_encode_tx_desc_ptype() local
1231 l4_prot = hdr.ipv4->protocol; in wx_encode_tx_desc_ptype()
1234 wx_get_ipv6_proto(skb, skb_inner_network_offset(skb), &l4_prot); in wx_encode_tx_desc_ptype()
1243 l4_prot = ip_hdr(skb)->protocol; in wx_encode_tx_desc_ptype()
1247 wx_get_ipv6_proto(skb, skb_network_offset(skb), &l4_prot); in wx_encode_tx_desc_ptype()
1254 switch (l4_prot) { in wx_encode_tx_desc_ptype()
1409 u8 l4_prot = 0; in wx_tx_csum() local
1472 l4_prot = network_hdr.ipv4->protocol; in wx_tx_csum()
1476 l4_prot = network_hdr.ipv6->nexthdr; in wx_tx_csum()
1482 switch (l4_prot) { in wx_tx_csum()