Searched refs:ol4_proto (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_enet.c | 731 static int hns3_get_l4_protocol(struct sk_buff *skb, u8 *ol4_proto, in hns3_get_l4_protocol() argument 756 *ol4_proto = l4_proto_tmp; in hns3_get_l4_protocol() 804 static void hns3_set_outer_l2l3l4(struct sk_buff *skb, u8 ol4_proto, in hns3_set_outer_l2l3l4() argument 844 if (ol4_proto == IPPROTO_UDP) in hns3_set_outer_l2l3l4() 847 else if (ol4_proto == IPPROTO_GRE) in hns3_set_outer_l2l3l4() 852 static int hns3_set_l2l3l4(struct sk_buff *skb, u8 ol4_proto, in hns3_set_l2l3l4() argument 857 u32 l4_proto = ol4_proto; in hns3_set_l2l3l4() 868 if (!(ol4_proto == IPPROTO_UDP || ol4_proto == IPPROTO_GRE)) { in hns3_set_l2l3l4() 881 hns3_set_outer_l2l3l4(skb, ol4_proto, ol_type_vlan_len_mse in hns3_set_l2l3l4() 1044 u8 ol4_proto, il4_proto; hns3_fill_skb_desc() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_enet.c | 1239 static int hns3_get_l4_protocol(struct sk_buff *skb, u8 *ol4_proto, in hns3_get_l4_protocol() argument 1264 *ol4_proto = l4_proto_tmp; in hns3_get_l4_protocol() 1320 static void hns3_set_outer_l2l3l4(struct sk_buff *skb, u8 ol4_proto, in hns3_set_outer_l2l3l4() argument 1359 if (ol4_proto == IPPROTO_UDP) in hns3_set_outer_l2l3l4() 1362 else if (ol4_proto == IPPROTO_GRE) in hns3_set_outer_l2l3l4() 1433 static int hns3_set_l2l3l4(struct sk_buff *skb, u8 ol4_proto, in hns3_set_l2l3l4() argument 1438 u32 l4_proto = ol4_proto; in hns3_set_l2l3l4() 1449 if (!(ol4_proto == IPPROTO_UDP || ol4_proto == IPPROTO_GRE)) { in hns3_set_l2l3l4() 1462 hns3_set_outer_l2l3l4(skb, ol4_proto, ol_type_vlan_len_mse in hns3_set_l2l3l4() 1609 u8 ol4_proto, il4_proto; hns3_handle_csum_partial() local [all...] |
Completed in 8 milliseconds