Searched refs:ether_type (Results 1 - 25 of 94) sorted by relevance

1234

/freebsd-11.0-release/contrib/tcpdump/
H A Dprint-sll.c136 u_short ether_type; local
149 ether_type = EXTRACT_16BITS(&sllp->sll_protocol);
151 if (ether_type <= ETHERMTU) {
155 switch (ether_type) {
176 ether_type));
181 tok2str(ethertype_values, "Unknown", ether_type),
182 ether_type));
200 u_short ether_type; local
225 ether_type = EXTRACT_16BITS(&sllp->sll_protocol);
232 if (ether_type <
[all...]
H A Dether.h49 uint16_t ether_type; member in struct:ether_header
H A Dprint-ether.c96 uint16_t ether_type; local
104 ether_type = EXTRACT_16BITS(&ep->ether_type);
106 if (ether_type <= ETHERMTU)
110 tok2str(ethertype_values,"Unknown", ether_type),
111 ether_type));
113 if (ether_type <= ETHERMTU)
116 ND_PRINT((ndo, ", %s", tok2str(ethertype_values,"Unknown Ethertype (0x%04x)", ether_type)));
135 u_short ether_type; local
155 ether_type
318 ethertype_print(netdissect_options *ndo, u_short ether_type, const u_char *p, u_int length, u_int caplen) argument
[all...]
H A Dprint-symantec.c37 uint16_t ether_type; member in struct:symantec_header
49 etype = EXTRACT_16BITS(&sp->ether_type);
79 u_short ether_type; local
94 ether_type = EXTRACT_16BITS(&sp->ether_type);
96 if (ether_type <= ETHERMTU) {
97 /* ether_type not known, print raw packet */
103 } else if (ethertype_print(ndo, ether_type, p, length, caplen) == 0) {
104 /* ether_type not known, print raw packet */
H A Dprint-ap1394.c87 u_short ether_type; local
102 ether_type = EXTRACT_16BITS(&fp->firewire_type);
103 if (ethertype_print(ndo, ether_type, p, length, caplen) == 0) {
104 /* ether_type not known, print raw packet */
/freebsd-11.0-release/sys/net/
H A Dfirewire.h43 uint32_t ether_type :16; member in struct:fw_encap::__anon12243
45 uint32_t ether_type :16;
55 uint32_t ether_type :16; member in struct:fw_encap::__anon12244
59 uint32_t ether_type :16;
H A Dif_ethersubr.c190 memcpy(&eh->ether_type, &etype, sizeof(eh->ether_type));
231 memcpy(&eh->ether_type, &etype, sizeof(etype));
246 memcpy(&eh->ether_type, &etype, sizeof(etype));
493 etype = ntohs(eh->ether_type);
773 u_short ether_type; local
786 ether_type = ntohs(eh->ether_type);
827 switch (ether_type) {
H A Dif_llc.h79 u_int16_t ether_type; member in struct:llc::__anon12275::__anon12280
H A Dif_fwsubr.c244 enc->unfrag.ether_type = type;
291 enc->firstfrag.ether_type = type;
536 type = enc->firstfrag.ether_type;
539 type = enc->unfrag.ether_type;
H A Dif_fddisubr.c190 type = eh->ether_type;
246 l->llc_snap.ether_type = htons(type);
425 type = ntohs(l->llc_snap.ether_type);
/freebsd-11.0-release/lib/libstand/
H A Dether.c77 eh->ether_type = htons(etype);
125 *etype = ntohs(eh->ether_type);
/freebsd-11.0-release/sys/boot/ofw/libofw/
H A Dofw_net.c102 printf("type: 0x%x\n", eh->ether_type & 0xffff);
170 printf("type: 0x%x\n", eh->ether_type & 0xffff);
/freebsd-11.0-release/sys/boot/powerpc/ps3/
H A Dps3net.c120 printf("type: 0x%x\n", eh->ether_type & 0xffff);
204 printf("type: 0x%x\n", eh->ether_type & 0xffff);
/freebsd-11.0-release/sys/netgraph/
H A Dng_pppoe.c630 privp->eh.ether_type = ETHERTYPE_PPPOE_DISC;
956 privp->eh.ether_type = ETHERTYPE_PPPOE_DISC;
962 privp->eh.ether_type =
1243 neg->pkt->pkt_header.eh.ether_type = wh->eh.ether_type;
1353 switch(wh->eh.ether_type) {
1589 if (sp->pkt_hdr.eh.ether_type ==
1591 sp->pkt_hdr.eh.ether_type
1594 sp->pkt_hdr.eh.ether_type
1638 sp->pkt_hdr.eh.ether_type
[all...]
/freebsd-11.0-release/contrib/ipfilter/ipsd/Celler/
H A Dip_compat.h182 __u16 ether_type; member in struct:__anon1773
/freebsd-11.0-release/contrib/ipfilter/ipsend/.OLD/
H A Dip_compat.h184 __u16 ether_type; member in struct:__anon1780
/freebsd-11.0-release/contrib/ipfilter/ipsend/
H A Dresend.c113 eh->ether_type = htons((u_short)ETHERTYPE_IP);
H A Dip.c77 eh->ether_type = htons(ETHERTYPE_IP);
123 eh->ether_type = htons(ETHERTYPE_IP);
/freebsd-11.0-release/sys/dev/mlx5/mlx5_en/
H A Dtcp_tlro.c184 memcpy(phdr, &eh->ether_type, sizeof(eh->ether_type));
185 phdr += sizeof(eh->ether_type);
186 etype = ntohs(eh->ether_type);
/freebsd-11.0-release/sys/kern/
H A Duipc_mbufhash.c98 etype = ntohs(eh->ether_type);
/freebsd-11.0-release/usr.sbin/wake/
H A Dwake.c164 pkt.hdr.ether_type = htons(0);
/freebsd-11.0-release/sys/net80211/
H A Dieee80211_input.c322 !(llc->llc_snap.ether_type == htons(ETHERTYPE_AARP) ||
323 llc->llc_snap.ether_type == htons(ETHERTYPE_IPX))) {
357 eh->ether_type = htons(m->m_pkthdr.len - sizeof(*eh));
384 *framelen = ntohs(eh->ether_type) /* encap'd frame size */
386 eh->ether_type = llc->llc_un.type_snap.ether_type;
H A Dieee80211_wds.c635 if (eh->ether_type != htons(ETHERTYPE_PAE)) {
639 eh->ether_type, m->m_pkthdr.len);
651 eh->ether_type != htons(ETHERTYPE_PAE)) {
/freebsd-11.0-release/contrib/ipfilter/ipsd/
H A Dsdlpi.c135 if (eh.ether_type != ETHERTYPE_IP)
/freebsd-11.0-release/sbin/dhclient/
H A Dpacket.c104 eh.ether_type = htons(ETHERTYPE_IP);

Completed in 291 milliseconds

1234