Home
last modified time | relevance | path

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

/openbmc/qemu/net/
H A Dcolo.c49 ssize_t l2hdr_len; in parse_packet_early() local
68 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()
H A Deth.c72 eth_get_l3_proto(const struct iovec *l2hdr_iov, int iovcnt, size_t l2hdr_len) in eth_get_l3_proto() argument
77 size_t proto_offset = l2hdr_len - sizeof(proto); in eth_get_l3_proto()
/openbmc/qemu/include/net/
H A Deth.h355 eth_get_l3_proto(const struct iovec *l2hdr_iov, int iovcnt, size_t l2hdr_len);