Searched refs:ETHERTYPE_IP (Results 1 - 25 of 100) sorted by relevance

1234

/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dif_ether.h48 #define ETH_P_IP ETHERTYPE_IP
/freebsd-11-stable/contrib/libpcap/
H A Dethertype.h37 #ifndef ETHERTYPE_IP
38 #define ETHERTYPE_IP 0x0800 /* IP protocol */ macro
/freebsd-11-stable/contrib/tcpdump/
H A Dethertype.h44 #ifndef ETHERTYPE_IP
45 #define ETHERTYPE_IP 0x0800 /* IP protocol */ macro
H A Dprint-arp.c196 if (pro != ETHERTYPE_IP && pro != ETHERTYPE_TRAIL)
208 if (pro != ETHERTYPE_IP && pro != ETHERTYPE_TRAIL)
235 if (pro != ETHERTYPE_IP && pro != ETHERTYPE_TRAIL)
247 if (pro != ETHERTYPE_IP && pro != ETHERTYPE_TRAIL)
279 if ((pro != ETHERTYPE_IP && pro != ETHERTYPE_TRAIL) ||
399 if ((pro != ETHERTYPE_IP && pro != ETHERTYPE_TRAIL) ||
H A Dprint-chdlc.c74 case ETHERTYPE_IP:
H A Dprint-ether.c37 { ETHERTYPE_IP, "IPv4" },
332 case ETHERTYPE_IP:
/freebsd-11-stable/stand/libsa/
H A Drarp.c92 ap->arp_pro = htons(ETHERTYPE_IP);
180 ap->arp_pro != htons(ETHERTYPE_IP) ||
H A Darp.c105 ah->arp_pro = htons(ETHERTYPE_IP);
198 ah->arp_pro != htons(ETHERTYPE_IP) ||
262 arp->arp_pro != htons(ETHERTYPE_IP) ||
H A Dip.c127 cc = sendether(d, ip, len, ea, ETHERTYPE_IP);
221 if (etype != ETHERTYPE_IP) {
/freebsd-11-stable/tests/sys/netgraph/
H A Dvlan_rotate.c106 msg.vlan[len].proto = htons(ETHERTYPE_IP);
209 msg.vlan[i].proto = htons(ETHERTYPE_IP);
287 msg.vlan[len].proto = htons(ETHERTYPE_IP);
/freebsd-11-stable/sys/net/
H A Dif_spppfr.c135 unsigned short ptype; /* protocol type = ETHERTYPE_IP */
192 if (ntohs (*(short*) (h+2)) == ETHERTYPE_IP) {
243 proto = ETHERTYPE_IP;
259 case ETHERTYPE_IP:
415 ntohs (req->ptype) != ETHERTYPE_IP) {
499 reply->ptype = htons (ETHERTYPE_IP);
H A Dif_atmsubr.c159 etype = ETHERTYPE_IP;
246 u_int16_t etype = ETHERTYPE_IP; /* default */
315 case ETHERTYPE_IP:
H A Dif_arcsubr.c571 mtod(m, struct arphdr *)->ar_pro = htons(ETHERTYPE_IP);
584 mtod(m, struct arphdr *)->ar_pro = htons(ETHERTYPE_IP);
H A Dif_fddisubr.c132 type = htons(ETHERTYPE_IP);
430 case ETHERTYPE_IP:
/freebsd-11-stable/sys/netgraph/
H A Dng_rfc1490.c345 case ETHERTYPE_IP:
417 = htons(ETHERTYPE_IP); /* PID */
423 *((u_int16_t *)mtod(m, u_int16_t *)) = htons(ETHERTYPE_IP);
H A Dng_cisco.c370 h->protocol = htons(ETHERTYPE_IP);
542 case ETHERTYPE_IP:
/freebsd-11-stable/tools/tools/netmap/
H A Dpkt_hash.c314 case ETHERTYPE_IP:
342 case ETHERTYPE_IP:
378 case ETHERTYPE_IP:
/freebsd-11-stable/contrib/ipfilter/ipsend/
H A Dsdlpi.c110 dlbindreq(fd, ETHERTYPE_IP, 0, DL_CLDLS, 0, 0);
H A Dresend.c111 eh->ether_type = htons((u_short)ETHERTYPE_IP);
H A Dip.c75 eh->ether_type = htons(ETHERTYPE_IP);
121 eh->ether_type = htons(ETHERTYPE_IP);
/freebsd-11-stable/sys/dev/ixgbe/
H A Dif_fdir.c103 if (etype != htons(ETHERTYPE_IP))
/freebsd-11-stable/sys/kern/
H A Duipc_mbufhash.c119 case ETHERTYPE_IP:
/freebsd-11-stable/sys/netinet/
H A Dtcp_lro.c222 case ETHERTYPE_IP:
310 case ETHERTYPE_IP:
618 case ETHERTYPE_IP:
714 case ETHERTYPE_IP:
845 case ETHERTYPE_IP:
/freebsd-11-stable/sbin/dhclient/
H A Dbpf.c102 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, ETHERTYPE_IP, 0, 10),
188 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, ETHERTYPE_IP, 0, 8),
H A Dpacket.c104 eh.ether_type = htons(ETHERTYPE_IP);

Completed in 504 milliseconds

1234