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

12345

/freebsd-11-stable/contrib/tcpdump/
H A Dprint-sll.c137 u_short ether_type; local
150 ether_type = EXTRACT_16BITS(&sllp->sll_protocol);
152 if (ether_type <= ETHERMTU) {
156 switch (ether_type) {
177 ether_type));
182 tok2str(ethertype_values, "Unknown", ether_type),
183 ether_type));
202 u_short ether_type; local
239 ether_type = EXTRACT_16BITS(&sllp->sll_protocol);
246 if (ether_type <
[all...]
H A Dprint-symantec.c38 uint16_t ether_type; member in struct:symantec_header
50 etype = EXTRACT_16BITS(&sp->ether_type);
80 u_short ether_type; local
95 ether_type = EXTRACT_16BITS(&sp->ether_type);
97 if (ether_type <= ETHERMTU) {
98 /* ether_type not known, print raw packet */
104 } else if (ethertype_print(ndo, ether_type, p, length, caplen, NULL, NULL) == 0) {
105 /* ether_type not known, print raw packet */
H A Dprint-medsa.c50 u_short ether_type; member in struct:medsa_pkthdr
145 u_short ether_type; local
160 ether_type = EXTRACT_16BITS(&medsa->ether_type);
161 if (ether_type <= ETHERMTU) {
172 ether_type),
173 ether_type));
174 if (ethertype_print(ndo, ether_type, bp, length, caplen, src, dst) == 0) {
175 /* ether_type not known, print raw packet */
179 ether_type),
[all...]
H A Dprint-ap1394.c94 u_short ether_type; local
110 ether_type = EXTRACT_16BITS(&fp->firewire_type);
115 if (ethertype_print(ndo, ether_type, p, length, caplen, &src, &dst) == 0) {
116 /* ether_type not known, print raw packet */
H A Dprint-ether.c326 u_short ether_type, const u_char *p,
330 switch (ether_type) {
325 ethertype_print(netdissect_options *ndo, u_short ether_type, const u_char *p, u_int length, u_int caplen, const struct lladdr_info *src, const struct lladdr_info *dst) argument
/freebsd-11-stable/sys/net/
H A Dfirewire.h43 uint32_t ether_type :16; member in struct:fw_encap::__anon12245
45 uint32_t ether_type :16;
55 uint32_t ether_type :16; member in struct:fw_encap::__anon12246
59 uint32_t ether_type :16;
H A Dif_ethersubr.c196 memcpy(&eh->ether_type, &etype, sizeof(eh->ether_type));
237 memcpy(&eh->ether_type, &etype, sizeof(etype));
252 memcpy(&eh->ether_type, &etype, sizeof(etype));
452 if (ntohs(eh->ether_type) == ETHERTYPE_VLAN ||
523 etype = ntohs(eh->ether_type);
803 u_short ether_type; local
817 ether_type = ntohs(eh->ether_type);
858 switch (ether_type) {
[all...]
H A Dif_llc.h79 u_int16_t ether_type; member in struct:llc::__anon12277::__anon12282
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);
H A Dif_bridge.c3108 u_int16_t ether_type; local
3131 ether_type = ntohs(eh1->ether_type);
3136 if (ether_type < ETHERMTU) {
3143 ether_type = htons(llc2->llc_un.type_snap.ether_type);
3157 switch (ether_type) {
3204 switch (ether_type) {
3225 switch (ether_type) {
H A Dif_iso88025subr.c335 l->llc_snap.ether_type = htons(snap_type);
508 type = ntohs(l->llc_snap.ether_type);
530 printf("iso88025_input: unexpected llc_snap ether_type 0x%02x\n", type);
/freebsd-11-stable/stand/libsa/
H A Dether.c72 eh->ether_type = htons(etype);
123 *etype = ntohs(eh->ether_type);
/freebsd-11-stable/stand/ofw/libofw/
H A Dofw_net.c102 printf("type: 0x%x\n", eh->ether_type & 0xffff);
184 printf("type: 0x%x\n", eh->ether_type & 0xffff);
/freebsd-11-stable/sys/netgraph/
H A Dng_pppoe.c671 privp->eh.ether_type = ETHERTYPE_PPPOE_DISC;
1067 privp->eh.ether_type = ETHERTYPE_PPPOE_DISC;
1073 privp->eh.ether_type =
1156 if (wh->eh.ether_type ==
1158 wh->eh.ether_type = ETHERTYPE_PPPOE_3COM_DISC;
1160 wh->eh.ether_type = ETHERTYPE_PPPOE_DISC;
1199 if (wh->eh.ether_type ==
1201 wh->eh.ether_type = ETHERTYPE_PPPOE_3COM_DISC;
1203 wh->eh.ether_type = ETHERTYPE_PPPOE_DISC;
1479 neg->pkt->pkt_header.eh.ether_type
[all...]
/freebsd-11-stable/usr.sbin/wake/
H A Dwake.c166 pkt.hdr.ether_type = htons(0);
/freebsd-11-stable/sys/kern/
H A Duipc_mbufhash.c98 etype = ntohs(eh->ether_type);
/freebsd-11-stable/contrib/ipfilter/ipsend/
H A Dresend.c111 eh->ether_type = htons((u_short)ETHERTYPE_IP);
H A Dip.c75 eh->ether_type = htons(ETHERTYPE_IP);
121 eh->ether_type = htons(ETHERTYPE_IP);
/freebsd-11-stable/sys/net80211/
H A Dieee80211_input.c325 !(llc->llc_snap.ether_type == htons(ETHERTYPE_AARP) ||
326 llc->llc_snap.ether_type == htons(ETHERTYPE_IPX))) {
360 eh->ether_type = htons(m->m_pkthdr.len - sizeof(*eh));
387 *framelen = ntohs(eh->ether_type) /* encap'd frame size */
389 eh->ether_type = llc->llc_un.type_snap.ether_type;
H A Dieee80211_wds.c633 if (eh->ether_type != htons(ETHERTYPE_PAE)) {
637 eh->ether_type, m->m_pkthdr.len);
649 eh->ether_type != htons(ETHERTYPE_PAE)) {
/freebsd-11-stable/stand/uboot/lib/
H A Dnet.c250 printf("type: 0x%x\n", eh->ether_type & 0xffff);
/freebsd-11-stable/sbin/dhclient/
H A Dpacket.c104 eh.ether_type = htons(ETHERTYPE_IP);
/freebsd-11-stable/sys/dev/le/
H A Dam79900.c631 ntohs(eh.ether_type));
653 ntohs(eh.ether_type));
H A Dam7990.c593 ntohs(eh.ether_type));
616 ntohs(eh.ether_type));

Completed in 168 milliseconds

12345