Searched refs:l2hdr_len (Results 1 – 3 of 3) sorted by relevance
49 ssize_t l2hdr_len; in parse_packet_early() local68 l2hdr_len = eth_get_l2_hdr_length(data); in parse_packet_early()78 pkt->network_header = data + l2hdr_len; in parse_packet_early()82 .iov_len = l2hdr_len in parse_packet_early()84 l3_proto = eth_get_l3_proto(&l2vec, 1, l2hdr_len); in parse_packet_early()91 if (pkt->size < l2hdr_len + network_length + pkt->vnet_hdr_len) { in parse_packet_early()
72 eth_get_l3_proto(const struct iovec *l2hdr_iov, int iovcnt, size_t l2hdr_len) in eth_get_l3_proto() argument77 size_t proto_offset = l2hdr_len - sizeof(proto); in eth_get_l3_proto()
355 eth_get_l3_proto(const struct iovec *l2hdr_iov, int iovcnt, size_t l2hdr_len);