Lines Matching defs:eh
560 ipfw_log(struct ip_fw *f, u_int hlen, struct ether_header *eh,
666 if (eh != NULL) { /* layer 2 packets are as on the wire */
1327 if (args->eh != NULL) {
1393 * args->eh (in) Mac header if present, or NULL for layer3 packet.
1431 * args->eh The MAC header. It is non-null for a layer2
1517 if (args->eh == NULL || /* layer 3 packet */
1519 ntohs(args->eh->ether_type) == ETHERTYPE_IP))
1533 if (args->eh != NULL) { /* layer 2 packets are as on the wire */
1619 if (args->eh == NULL && skipto != 0) {
1770 if (args->eh != NULL) { /* have MAC header */
1775 u_int32_t *hdr = (u_int32_t *)args->eh;
1785 if (args->eh != NULL) {
1787 ntohs(args->eh->ether_type);
1807 match = (args->eh != NULL);
1990 ipfw_log(f, hlen, args->eh, m, oif);
2114 if (args->eh) /* not on layer 2 */
2156 if (args->eh) /* not valid on layer2 pkts */