Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c1238 static int hns3_get_l4_protocol(struct sk_buff *skb, u8 *ol4_proto, in hns3_get_l4_protocol() argument
1263 *ol4_proto = l4_proto_tmp; in hns3_get_l4_protocol()
1319 static void hns3_set_outer_l2l3l4(struct sk_buff *skb, u8 ol4_proto, in hns3_set_outer_l2l3l4() argument
1358 if (ol4_proto == IPPROTO_UDP) in hns3_set_outer_l2l3l4()
1361 else if (ol4_proto == IPPROTO_GRE) in hns3_set_outer_l2l3l4()
1432 static int hns3_set_l2l3l4(struct sk_buff *skb, u8 ol4_proto, in hns3_set_l2l3l4() argument
1437 u32 l4_proto = ol4_proto; in hns3_set_l2l3l4()
1448 if (!(ol4_proto == IPPROTO_UDP || ol4_proto == IPPROTO_GRE)) { in hns3_set_l2l3l4()
1461 hns3_set_outer_l2l3l4(skb, ol4_proto, ol_type_vlan_len_msec); in hns3_set_l2l3l4()
1608 u8 ol4_proto, il4_proto; in hns3_handle_csum_partial() local
[all …]