Searched refs:ether_type (Results 1 - 14 of 14) sorted by relevance
/darwin-on-arm/xnu/bsd/net/ |
H A D | ndrv.h | 67 * ether_type : ethernet type in network byte order, assuming 74 * 1) 802.1x uses ether_type 0x888e, so the descriptor would be set as: 78 * desc.ether_type = htons(0x888e); 95 u_int16_t ether_type; member in union:ndrv_demux_desc::__anon217
|
H A D | ether_if_module.c | 363 u_short ether_type = eh->ether_type; local 418 else if (ether_type == htons(ETHERTYPE_VLAN)) { 431 ether_type = evl->evl_encap_proto = evl->evl_proto; 447 if (ntohs(ether_type) <= 1500) { 471 if ((ed[i].type == type) && (ed[i].data[0] == ether_type)) { 513 const char *ether_type 567 (void)memcpy(&eh->ether_type, ether_type, 568 sizeof(eh->ether_type)); [all...] |
H A D | ether_inet6_pr_module.c | 115 u_int16_t ether_type; local 117 bcopy(&eh->ether_type, ðer_type, sizeof (ether_type)); 119 if (ether_type == htons(ETHERTYPE_IPV6)) {
|
H A D | ethernet.h | 88 u_short ether_type; member in struct:ether_header
|
H A D | ether_inet_pr_module.c | 194 if (eh->ether_type == htons(ETHERTYPE_IP)) { 210 if (eh->ether_type == htons(ETHERTYPE_ARP)) 267 bcopy(&eh->ether_type, type, sizeof (u_short)); 444 eh->ether_type = htons(ETHERTYPE_ARP);
|
H A D | if_llc.h | 104 u_int16_t ether_type; member in struct:llc::__anon187::__anon192
|
H A D | ether_at_pr_module.c | 161 *(u_short *)type = eh->ether_type;
|
H A D | if_bridge.c | 928 eh->ether_type); 3040 if (eh->ether_type == htons(ETHERTYPE_PAE)) { 3468 if (eh->ether_type == htons(ETHERTYPE_IP)) 3615 if (eh->ether_type == htons(ETHERTYPE_RSN_PREAUTH) || 4715 u_int16_t ether_type; local 4738 ether_type = ntohs(eh1->ether_type); 4743 if (ether_type < ETHERMTU) { 4750 ether_type = htons(llc2->llc_un.type_snap.ether_type); [all...] |
H A D | bridgestp.c | 315 eh->ether_type = htons(sizeof(bpdu)); 434 eh->ether_type = htons(BSTP_BPDU_STP_LEN); 443 eh->ether_type = htons(BSTP_BPDU_RSTP_LEN); 548 len = ntohs(eh->ether_type);
|
H A D | if_bond.c | 976 bcopy(eh_p, vlh_p, offsetof(struct ether_header, ether_type)); 979 vlh_p->evl_proto = eh_p->ether_type; 1303 | eh_p->ether_type; 1494 switch (ntohs(eh_p->ether_type)) { 1672 && ntohs(eh_p->ether_type) == IEEE8023AD_SLOW_PROTO_ETHERTYPE) { 1778 eh_p->ether_type = htons(IEEE8023AD_SLOW_PROTO_ETHERTYPE);
|
/darwin-on-arm/xnu/osfmk/kdp/ |
H A D | kdp_udp.h | 127 u_short ether_type; member in struct:ether_header
|
H A D | kdp_udp.c | 527 eh->ether_type = htons(ETHERTYPE_IP); 596 eh->ether_type = htons(ETHERTYPE_IP); 817 eh->ether_type = htons(ETHERTYPE_ARP); 856 if (ntohs(eh->ether_type) == ETHERTYPE_ARP) 868 if (ntohs(eh->ether_type) != ETHERTYPE_IP) { 937 eh->ether_type = htons(ETHERTYPE_ARP); 1502 eh->ether_type = htons(ETHERTYPE_IP);
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | ip_compat.h | 635 __u16 ether_type;
|
H A D | ip_fw2.c | 2021 ntohs(args->fwa_eh->ether_type) == ETHERTYPE_IP)) 2291 ntohs(args->fwa_eh->ether_type);
|
Completed in 146 milliseconds