Searched refs:ETHERTYPE_IP (Results 1 – 14 of 14) sorted by relevance
| /xnu-11215.1.10/bsd/net/ |
| H A D | ether_inet_pr_module.c | 132 ntohs(ea->arp_pro) != ETHERTYPE_IP || in ether_inet_arp_input() 199 if (__probable(eh->ether_type == htons(ETHERTYPE_IP))) { in ether_inet_input() 266 u_int16_t ethertype_ip = htons(ETHERTYPE_IP); in ether_inet_pre_output() 468 ea->arp_pro = htons(ETHERTYPE_IP); in ether_inet_arp() 564 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 | 557 case ETHERTYPE_IP: in ifnet_lr2iflri()
|
| H A D | if_bridge.c | 188 #define HTONS_ETHERTYPE_IP htons(ETHERTYPE_IP) 4752 case ETHERTYPE_IP: 7875 } else if (eh->ether_type == htons(ETHERTYPE_IP)) { 9764 case ETHERTYPE_IP: 9793 case ETHERTYPE_IP: 9813 case ETHERTYPE_IP:
|
| H A D | dlil.c | 5018 if (etype == ETHERTYPE_IP) { in ifnet_enqueue_ifclassq() 5111 if (etype == ETHERTYPE_IP) { in ifnet_enqueue_ifclassq() 6113 eh.ether_type = htons(ETHERTYPE_IP); in dlil_input_packet_list_common()
|
| H A D | bpf.c | 3901 } else if (type == ETHERTYPE_IP) { in get_ether_trunc_len()
|
| H A D | if_bond.c | 1523 case ETHERTYPE_IP: in get_packet_hash()
|
| /xnu-11215.1.10/osfmk/kdp/ |
| H A D | kdp_udp.c | 178 #define ETHERTYPE_IP 0x0800 /* IP protocol */ macro 607 eh->ether_type = htons(ETHERTYPE_IP); in kdp_reply() 683 eh->ether_type = htons(ETHERTYPE_IP); in kdp_send() 914 ea->arp_pro = htons(ETHERTYPE_IP); in kdp_arp_reply() 968 if (ntohs(eh->ether_type) != ETHERTYPE_IP) { in kdp_poll() 1041 ea->arp_pro = htons(ETHERTYPE_IP); in transmit_ARP_request() 1609 eh->ether_type = htons(ETHERTYPE_IP); in create_panic_header()
|
| /xnu-11215.1.10/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_ethernet.c | 83 htons(ETHERTYPE_IP) : htons(ETHERTYPE_IPV6)); in fsw_ethernet_ctor() 599 case ETHERTYPE_IP: in fsw_ethernet_demux()
|
| /xnu-11215.1.10/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 | 453 ifnet_llreach_set_reachable(ifp, ETHERTYPE_IP, addr, alen); in arp_llreach_set_reachable() 587 ETHERTYPE_IP, addr, alen, arp_llreach_base); in arp_llreach_alloc()
|
| /xnu-11215.1.10/tests/ |
| H A D | net_bridge.c | 540 case ETHERTYPE_IP: in ethernet_frame_validate() 636 arp_p->ar_pro = htons(ETHERTYPE_IP); in ethernet_arp_frame_populate() 678 T_ASSERT_EQ((int)ether_type, ETHERTYPE_IP, NULL); in ethernet_frame_get_udp4_payload() 2029 T_ASSERT_EQ((int)ntohs(eh_p->ether_type), (int)ETHERTYPE_IP, NULL); in validate_mac_nat_dhcp()
|
| H A D | net_test_lib.c | 238 eh_p->ether_type = htons(ETHERTYPE_IP); in ethernet_udp4_frame_populate()
|
| /xnu-11215.1.10/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_netagent.c | 177 ETHERTYPE_IP,
|