Home
last modified time | relevance | path

Searched refs:eth_type (Results 1 – 5 of 5) sorted by relevance

/third_party/gstreamer/gstplugins_bad/gst/pcapparse/
Dgstpcapparse.c368 guint16 eth_type; in gst_pcap_parse_scan_frame() local
385 eth_type = GUINT16_FROM_BE (*((guint16 *) (buf + ETH_MAC_ADDRESSES_LEN))); in gst_pcap_parse_scan_frame()
387 if (eth_type == 0x8100) { in gst_pcap_parse_scan_frame()
392 eth_type = in gst_pcap_parse_scan_frame()
404 eth_type = GUINT16_FROM_BE (*((guint16 *) (buf + 14))); in gst_pcap_parse_scan_frame()
411 eth_type = 0x800; /* This is fine since IPv4/IPv6 is parse elsewhere */ in gst_pcap_parse_scan_frame()
419 if (eth_type != 0x800) { in gst_pcap_parse_scan_frame()
422 (gint) self->linktype, (gint) eth_type); in gst_pcap_parse_scan_frame()
/third_party/lwip/src/netif/
Dethernet.c272 u16_t eth_type) { argument
274 u16_t eth_type_be = lwip_htons(eth_type);
277 s32_t vlan_prio_vid = LWIP_HOOK_VLAN_SET(netif, p, src, dst, eth_type);
/third_party/lwip/src/include/netif/
Dethernet.h67 …if* netif, struct pbuf* p, const struct eth_addr* src, const struct eth_addr* dst, u16_t eth_type);
/third_party/lwip/src/include/lwip/
Dopt.h3044 #define LWIP_HOOK_VLAN_SET(netif, p, src, dst, eth_type) argument
/third_party/gstreamer/gstplugins_bad/
DChangeLog164018 …gstpcapparse.c:381:6: error: 'eth_type' may be used uninitialized in this function [-Werror=uninit…
164019 gstpcapparse.c:354:11: note: 'eth_type' was declared here