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

12

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/tcpdump-4.4.0/
H A Dprint-sll.c56 u_short ether_type; local
69 ether_type = EXTRACT_16BITS(&sllp->sll_protocol);
71 if (ether_type <= ETHERMTU) {
75 switch (ether_type) {
96 ether_type);
101 tok2str(ethertype_values, "Unknown", ether_type),
102 ether_type);
120 u_short ether_type; local
145 ether_type = EXTRACT_16BITS(&sllp->sll_protocol);
152 if (ether_type <
[all...]
H A Dether.h50 u_int16_t ether_type; member in struct:ether_header
H A Dprint-symantec.c44 u_int16_t ether_type; member in struct:symantec_header
56 etype = EXTRACT_16BITS(&sp->ether_type);
86 u_short ether_type; local
101 ether_type = EXTRACT_16BITS(&sp->ether_type);
103 if (ether_type <= ETHERMTU) {
104 /* ether_type not known, print raw packet */
110 } else if (ethertype_print(gndo, ether_type, p, length, caplen) == 0) {
111 /* ether_type not known, print raw packet */
H A Dprint-ether.c96 u_int16_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 (void)ND_PRINT((ndo, ", %s", tok2str(ethertype_values,"Unknown Ethertype (0x%04x)", ether_type)));
135 u_short ether_type; local
155 ether_type
321 ethertype_print(netdissect_options *ndo, u_short ether_type, const u_char *p, u_int length, u_int caplen) argument
[all...]
H A Dprint-ap1394.c93 u_short ether_type; local
108 ether_type = EXTRACT_16BITS(&fp->firewire_type);
109 if (ethertype_print(gndo, ether_type, p, length, caplen) == 0) {
110 /* ether_type not known, print raw packet */
/netgear-R7000-V1.0.7.12_1.2.5/src/include/proto/
H A Dvlan.h58 uint16 ether_type; member in struct:ethervlan_header
73 uint16 ether_type; /* ethertype */ member in struct:dot3_mac_llc_snapvlan_header
H A Dbcmproto.h88 type = ntoh16(eh->ether_type);
106 type = ntoh16(svh->ether_type);
118 type = ntoh16(evh->ether_type);
H A Dethernet.h124 uint16 ether_type; member in struct:ether_header
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/sys/netatalk/
H A Dphase2.h52 u_short ether_type; member in struct:llc::__anon7078::__anon7082
61 #define llc_ether_type llc_un.type_snap.ether_type
H A Daarp.c202 eh->ether_type = htons( sizeof( struct llc ) +
205 eh->ether_type = sizeof( struct llc ) + sizeof( struct ether_aarp );
235 eh->ether_type = htons( ETHERTYPE_AARP );
237 eh->ether_type = ETHERTYPE_AARP;
570 eh->ether_type = htons( sizeof( struct llc ) +
573 eh->ether_type = sizeof( struct llc ) + sizeof( struct ether_aarp );
602 eh->ether_type = htons( ETHERTYPE_AARP );
604 eh->ether_type = ETHERTYPE_AARP;
745 eh->ether_type = htons( sizeof( struct llc ) +
748 eh->ether_type
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/ieee1394/
H A Deth1394.h101 __be16 ether_type; /* Ethernet packet type */ member in struct:eth1394_uf_hdr
107 __be16 ether_type; member in struct:eth1394_uf_hdr
119 __be16 ether_type; /* Ethernet packet type */ member in struct:eth1394_ff_hdr
128 __be16 ether_type; member in struct:eth1394_ff_hdr
H A Deth1394.c95 __be16 ether_type; member in struct:partial_datagram
821 __be16 ether_type)
837 if (ether_type == htons(ETH_P_ARP)) {
894 if (dev_hard_header(skb, dev, ntohs(ether_type), &dest_hw, NULL,
1052 __be16 ether_type = cpu_to_be16(0); /* initialized to clear warning */ local
1093 ether_type = hdr->uf.ether_type;
1110 ether_type = hdr->ff.ether_type;
1176 pd->ether_type
819 ether1394_parse_encap(struct sk_buff *skb, struct net_device *dev, nodeid_t srcid, nodeid_t destid, __be16 ether_type) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/m68k/mac/
H A Dconfig.c414 .ether_type = MAC_ETHER_SONIC,
425 .ether_type = MAC_ETHER_SONIC,
435 .ether_type = MAC_ETHER_SONIC,
447 .ether_type = MAC_ETHER_SONIC,
457 .ether_type = MAC_ETHER_SONIC,
467 .ether_type = MAC_ETHER_MACE,
477 .ether_type = MAC_ETHER_SONIC,
487 .ether_type = MAC_ETHER_SONIC,
550 .ether_type = MAC_ETHER_SONIC,
561 .ether_type
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/sys/ultrix/
H A Dat_ultrix.c61 switch ( eh->ether_type ) {
73 if ( eh->ether_type <= ETHERMTU ) { /* ieee802 */
109 if (( eh->ether_type == ifam->if_type || ifam->if_type == -1 ) &&
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/sys/sunos/
H A Dat_sun.c218 * Before SunOS 4.1, the ether_type was passed as is from the
219 * packet. After SunOS 4.1, the ether_type is swapped in
223 header->ether_type = ntohs( header->ether_type );
226 if ( header->ether_type <= ETHERMTU ) { /* IEEE802 */
290 switch ( header->ether_type ) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/m68k/include/asm/
H A Dmacintosh.h35 char ether_type; member in struct:mac_model
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rtl8187se/ieee80211/
H A Dieee80211_tx.c285 if(eh->ether_type == __constant_htons(ETHERTYPE_IP)) {
315 int ether_type, encrypt; local
348 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto);
352 encrypt = !(ether_type == ETH_P_PAE && ieee->ieee802_1x) &&
356 ieee->drop_unencrypted && ether_type != ETH_P_PAE) {
362 if (crypt && !encrypt && ether_type == ETH_P_PAE) {
508 ether_type);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/ipw2x00/
H A Dlibipw_tx.c264 __be16 ether_type; local
295 ether_type = ((struct ethhdr *)skb->data)->h_proto;
299 encrypt = !(ether_type == htons(ETH_P_PAE) && ieee->ieee802_1x) &&
306 ieee->drop_unencrypted && ether_type != htons(ETH_P_PAE)) {
365 ether_type);
491 ether_type);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/firewire/
H A Dnet.c99 unsigned ether_type)
102 | fwnet_set_hdr_ether_type(ether_type);
106 unsigned ether_type, unsigned dg_size, unsigned dgl)
110 | fwnet_set_hdr_ether_type(ether_type);
136 u16 ether_type; member in struct:fwnet_partial_datagram
516 bool is_broadcast, u16 ether_type)
539 if (ether_type == ETH_P_ARP) {
611 if (dev_hard_header(skb, net, ether_type,
679 u16 ether_type; local
689 ether_type
98 fwnet_make_uf_hdr(struct rfc2734_header *hdr, unsigned ether_type) argument
105 fwnet_make_ff_hdr(struct rfc2734_header *hdr, unsigned ether_type, unsigned dg_size, unsigned dgl) argument
514 fwnet_finish_incoming_packet(struct net_device *net, struct sk_buff *skb, u16 source_node_id, bool is_broadcast, u16 ether_type) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rtl8192su/ieee80211/
H A Dieee80211_tx.c609 int ether_type = 0, encrypt; local
644 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto);
648 encrypt = !(ether_type == ETH_P_PAE && ieee->ieee802_1x) &&
652 ieee->drop_unencrypted && ether_type != ETH_P_PAE) {
657 if (crypt && !encrypt && ether_type == ETH_P_PAE) {
818 ether_type);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_tx.c598 int ether_type = 0, encrypt; local
633 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto);
637 encrypt = !(ether_type == ETH_P_PAE && ieee->ieee802_1x) &&
641 ieee->drop_unencrypted && ether_type != ETH_P_PAE) {
646 if (crypt && !encrypt && ether_type == ETH_P_PAE) {
811 ether_type);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rtl8192e/ieee80211/
H A Dieee80211_tx.c609 int ether_type = 0, encrypt; local
645 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto);
649 encrypt = !(ether_type == ETH_P_PAE && ieee->ieee802_1x) &&
653 ieee->drop_unencrypted && ether_type != ETH_P_PAE) {
658 if (crypt && !encrypt && ether_type == ETH_P_PAE) {
669 if (ETH_P_IP == ether_type) {// IP header
698 }else if(ETH_P_ARP == ether_type){// IP ARP packet
872 ether_type);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/pppd/plugins/rp-pppoe/
H A Dpppoe.h84 #define h_proto ether_type
100 #define h_proto ether_type
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/networking/
H A Dzcip.c100 p.hdr.ether_type = htons(ETHERTYPE_ARP);
424 if (p.hdr.ether_type != htons(ETHERTYPE_ARP))
434 intf, ntohs(p.hdr.ether_type),
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/pppoecd/
H A Dpppoe2.c265 (unsigned)ntohs(p->ethhdr.ether_type));
271 switch((unsigned)ntohs(p->ethhdr.ether_type))
313 if (ntohs(p->ethhdr.ether_type) != ETH_P_PPPOE_DISC)
667 packet->ethhdr.ether_type = htons(ETH_P_PPPOE_DISC);
740 packet->ethhdr.ether_type = htons(ETH_P_PPPOE_DISC);
813 packet->ethhdr.ether_type = htons(ETH_P_PPPOE_DISC);
873 packet->ethhdr.ether_type = htons(ETH_P_PPPOE_SESS);
1118 packet->ethhdr.ether_type = htons(ETH_P_PPPOE_SESS);
1534 if (packet->ethhdr.ether_type != htons(ETH_P_PPPOE_SESS))
1537 ntohs(packet->ethhdr.ether_type));
[all...]

Completed in 986 milliseconds

12