Lines Matching defs:eh
286 struct ether_header eh;
591 bcmp(sp->pkt_hdr.eh.ether_dhost,
592 wh->eh.ether_shost, ETHER_ADDR_LEN) == 0) {
669 memset(&privp->eh.ether_dhost, 0xff, ETHER_ADDR_LEN);
670 privp->eh.ether_type = ETHERTYPE_PPPOE_DISC;
889 memcpy((void *)&neg->pkt->pkt_header.eh,
890 &privp->eh, sizeof(struct ether_header));
1069 privp->eh.ether_type = ETHERTYPE_PPPOE_DISC;
1075 privp->eh.ether_type =
1125 bcopy(msg->data, &privp->eh.ether_shost,
1158 if (wh->eh.ether_type ==
1160 wh->eh.ether_type = ETHERTYPE_PPPOE_3COM_DISC;
1162 wh->eh.ether_type = ETHERTYPE_PPPOE_DISC;
1203 if (wh->eh.ether_type ==
1205 wh->eh.ether_type = ETHERTYPE_PPPOE_3COM_DISC;
1207 wh->eh.ether_type = ETHERTYPE_PPPOE_DISC;
1236 bcopy(msg->data, &privp->eh.ether_shost,
1279 memcpy((void *)&neg->pkt->pkt_header.eh, &privp->eh,
1485 neg->pkt->pkt_header.eh.ether_type = wh->eh.ether_type;
1496 bcopy(wh->eh.ether_shost,
1497 neg->pkt->pkt_header.eh.ether_dhost,
1596 switch(wh->eh.ether_type) {
1732 bcopy(wh->eh.ether_shost,
1733 neg->pkt->pkt_header.eh.ether_dhost,
1828 if (sp->pkt_hdr.eh.ether_type ==
1830 sp->pkt_hdr.eh.ether_type
1833 sp->pkt_hdr.eh.ether_type
1876 sp->pkt_hdr.eh.ether_type
1879 sp->pkt_hdr.eh.ether_type
2054 if (wh->eh.ether_type ==
2056 wh->eh.ether_type = ETHERTYPE_PPPOE_3COM_DISC;
2058 wh->eh.ether_type = ETHERTYPE_PPPOE_DISC;