• Home
  • Raw
  • Download

Lines Matching refs:l3

1159 	union l3_hdr_info l3;  in hns3_set_tso()  local
1171 l3.hdr = skb_network_header(skb); in hns3_set_tso()
1177 if (l3.v4->version == 4) in hns3_set_tso()
1178 l3.v4->check = 0; in hns3_set_tso()
1186 l3.hdr = skb_inner_network_header(skb); in hns3_set_tso()
1192 if (l3.v4->version == 4) in hns3_set_tso()
1193 l3.v4->check = 0; in hns3_set_tso()
1233 union l3_hdr_info l3; in hns3_get_l4_protocol() local
1240 l3.hdr = skb_network_header(skb); in hns3_get_l4_protocol()
1244 exthdr = l3.hdr + sizeof(*l3.v6); in hns3_get_l4_protocol()
1245 l4_proto_tmp = l3.v6->nexthdr; in hns3_get_l4_protocol()
1250 l4_proto_tmp = l3.v4->protocol; in hns3_get_l4_protocol()
1264 l3.hdr = skb_inner_network_header(skb); in hns3_get_l4_protocol()
1267 if (l3.v6->version == 6) { in hns3_get_l4_protocol()
1268 exthdr = l3.hdr + sizeof(*l3.v6); in hns3_get_l4_protocol()
1269 l4_proto_tmp = l3.v6->nexthdr; in hns3_get_l4_protocol()
1273 } else if (l3.v4->version == 4) { in hns3_get_l4_protocol()
1274 l4_proto_tmp = l3.v4->protocol; in hns3_get_l4_protocol()
1316 union l3_hdr_info l3; in hns3_set_outer_l2l3l4() local
1319 l3.hdr = skb_network_header(skb); in hns3_set_outer_l2l3l4()
1323 l2_len = l3.hdr - skb->data; in hns3_set_outer_l2l3l4()
1327 l3_len = l4.hdr - l3.hdr; in hns3_set_outer_l2l3l4()
1365 union l3_hdr_info l3; in hns3_set_l2l3l4() local
1369 l3.hdr = skb_network_header(skb); in hns3_set_l2l3l4()
1391 l3.hdr = skb_inner_network_header(skb); in hns3_set_l2l3l4()
1396 if (l3.v4->version == 4) { in hns3_set_l2l3l4()
1405 } else if (l3.v6->version == 6) { in hns3_set_l2l3l4()
1411 l2_len = l3.hdr - l2_hdr; in hns3_set_l2l3l4()
1415 l3_len = l4.hdr - l3.hdr; in hns3_set_l2l3l4()