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

/darwin-on-arm/xnu/bsd/net/
H A Dndrv.h67 * 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 Dether_if_module.c363 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 Dether_inet6_pr_module.c115 u_int16_t ether_type; local
117 bcopy(&eh->ether_type, &ether_type, sizeof (ether_type));
119 if (ether_type == htons(ETHERTYPE_IPV6)) {
H A Dethernet.h88 u_short ether_type; member in struct:ether_header
H A Dether_inet_pr_module.c194 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 Dif_llc.h104 u_int16_t ether_type; member in struct:llc::__anon187::__anon192
H A Dether_at_pr_module.c161 *(u_short *)type = eh->ether_type;
H A Dif_bridge.c928 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 Dbridgestp.c315 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 Dif_bond.c976 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 Dkdp_udp.h127 u_short ether_type; member in struct:ether_header
H A Dkdp_udp.c527 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 Dip_compat.h635 __u16 ether_type;
H A Dip_fw2.c2021 ntohs(args->fwa_eh->ether_type) == ETHERTYPE_IP))
2291 ntohs(args->fwa_eh->ether_type);

Completed in 146 milliseconds