FreeBSD/sys/net/if_arcsubr.c
/*
 * return 1 if Packet Header Definition Standard, else 0.
 * For now: old IP, old ARP aren't obviously. Lacking correct information,
 * we guess that besides new IP and new ARP also IPX and APPLETALK are PHDS.
 * (Apple and Novell corporations were involved, among others, in PHDS work).
 * Easiest is to assume that everybody else uses that, too.
 */
return 1 if Packet Header Definition Standard, else 0.
For now: old IP, old ARP aren't obviously. Lacking correct information,
we guess that besides new IP and new ARP also IPX and APPLETALK are PHDS.
(Apple and Novell corporations were involved, among others, in PHDS work).
Easiest is to assume that everybody else uses that, too.
return 1 if Packet Header Definition Standard else 0 . For now : old IP old ARP aren ' t obviously . Lacking correct information we guess that besides new IP and new ARP also IPX and APPLETALK are PHDS . ( Apple and Novell corporations were involved among others in PHDS work ) . Easiest is to assume that everybody else uses that too .
int
arc_isphds(u_int8_t type)
{
	return (type != ARCTYPE_IP_OLD &&
		type != ARCTYPE_ARP_OLD &&
		type != ARCTYPE_DIAGNOSE);
}
int arc_isphds ( u_int8_t type ) { return ( type != ARCTYPE_IP_OLD && type != ARCTYPE_ARP_OLD && type != ARCTYPE_DIAGNOSE ) ; }
return 1 if Packet Header Definition Standard, else 0.
return 1 if Packet Header Definition Standard else 0 .