Searched refs:ol4_proto (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_enet.c | 529 static int hns3_get_l4_protocol(struct sk_buff *skb, u8 *ol4_proto, in hns3_get_l4_protocol() argument 558 *ol4_proto = l4_proto_tmp; in hns3_get_l4_protocol() 585 static void hns3_set_l2l3l4_len(struct sk_buff *skb, u8 ol4_proto, in hns3_set_l2l3l4_len() argument 601 u8 l4_proto = ol4_proto; in hns3_set_l2l3l4_len() 630 if ((ol4_proto == IPPROTO_UDP) || (ol4_proto == IPPROTO_GRE)) { in hns3_set_l2l3l4_len() 715 static int hns3_set_l3l4_type_csum(struct sk_buff *skb, u8 ol4_proto, in hns3_set_l3l4_type_csum() argument 724 u32 l4_proto = ol4_proto; in hns3_set_l3l4_type_csum() 912 u8 ol4_proto; in hns3_fill_desc() local 941 ret = hns3_get_l4_protocol(skb, &ol4_proto, &il4_proto); in hns3_fill_desc() 944 hns3_set_l2l3l4_len(skb, ol4_proto, il4_proto, in hns3_fill_desc() [all …]
|