Searched refs:ETHERTYPE_IP (Results 1 – 14 of 14) sorted by relevance
| /xnu-10002.41.9/bsd/net/ |
| H A D | ether_inet_pr_module.c | 129 ntohs(ea->arp_pro) != ETHERTYPE_IP || in ether_inet_arp_input() 194 if (eh->ether_type == htons(ETHERTYPE_IP)) { in ether_inet_input() 255 u_int16_t ethertype_ip = htons(ETHERTYPE_IP); in ether_inet_pre_output() 458 ea->arp_pro = htons(ETHERTYPE_IP); in ether_inet_arp() 556 u_short en_native = htons(ETHERTYPE_IP); in ether_attach_inet()
|
| H A D | ethernet.h | 107 #define ETHERTYPE_IP 0x0800 /* IP protocol */ macro
|
| H A D | if_llreach.c | 555 case ETHERTYPE_IP: in ifnet_lr2iflri()
|
| H A D | if_bridge.c | 4386 case ETHERTYPE_IP: 4677 case ETHERTYPE_IP: 7548 if (ea->arp_pro != htons(ETHERTYPE_IP)) { 7598 } else if (eh->ether_type == htons(ETHERTYPE_IP)) { 8098 if (ntohs(ea->arp_pro) != ETHERTYPE_IP) { 8257 case ETHERTYPE_IP: 8748 case ETHERTYPE_IP: 8820 case ETHERTYPE_IP: 8982 case ETHERTYPE_IP: 9227 case ETHERTYPE_IP: [all …]
|
| H A D | bpf.c | 3771 } else if (type == ETHERTYPE_IP) { in get_ether_trunc_len()
|
| H A D | dlil.c | 5437 if (etype == ETHERTYPE_IP) { in ifnet_enqueue_ifclassq() 5531 if (etype == ETHERTYPE_IP) { in ifnet_enqueue_ifclassq() 6489 eh.ether_type = htons(ETHERTYPE_IP); in dlil_input_packet_list_common()
|
| H A D | if_bond.c | 1533 case ETHERTYPE_IP: in bond_output()
|
| /xnu-10002.41.9/osfmk/kdp/ |
| H A D | kdp_udp.c | 176 #define ETHERTYPE_IP 0x0800 /* IP protocol */ macro 605 eh->ether_type = htons(ETHERTYPE_IP); in kdp_reply() 681 eh->ether_type = htons(ETHERTYPE_IP); in kdp_send() 912 ea->arp_pro = htons(ETHERTYPE_IP); in kdp_arp_reply() 966 if (ntohs(eh->ether_type) != ETHERTYPE_IP) { in kdp_poll() 1039 ea->arp_pro = htons(ETHERTYPE_IP); in transmit_ARP_request() 1607 eh->ether_type = htons(ETHERTYPE_IP); in create_panic_header()
|
| /xnu-10002.41.9/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_ethernet.c | 82 htons(ETHERTYPE_IP) : htons(ETHERTYPE_IPV6)); in fsw_ethernet_ctor() 581 case ETHERTYPE_IP: in fsw_ethernet_demux()
|
| /xnu-10002.41.9/bsd/netinet/ |
| H A D | ip_compat.h | 430 #ifndef ETHERTYPE_IP 431 # define ETHERTYPE_IP ((u_short)0x0800)
|
| H A D | in_arp.c | 465 ifnet_llreach_set_reachable(ifp, ETHERTYPE_IP, addr, alen); in arp_llreach_set_reachable() 599 ETHERTYPE_IP, addr, alen, arp_llreach_base); in arp_llreach_alloc()
|
| /xnu-10002.41.9/tests/ |
| H A D | net_test_lib.c | 101 eh_p->ether_type = htons(ETHERTYPE_IP); in ethernet_udp4_frame_populate()
|
| H A D | net_bridge.c | 863 case ETHERTYPE_IP: in ethernet_frame_validate() 959 arp_p->ar_pro = htons(ETHERTYPE_IP); in ethernet_arp_frame_populate() 1001 T_ASSERT_EQ((int)ether_type, ETHERTYPE_IP, NULL); in ethernet_frame_get_udp4_payload() 2358 T_ASSERT_EQ((int)ntohs(eh_p->ether_type), (int)ETHERTYPE_IP, NULL); in validate_mac_nat_dhcp()
|
| /xnu-10002.41.9/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_netagent.c | 176 ETHERTYPE_IP,
|