taglinefilesource code
eth153drivers/net/plip.cstatic int plip_addrcmp(struct ethhdr *eth);
eth154drivers/net/plip.cstatic int plip_send_enethdr(struct device *dev, struct ethhdr *eth);
eth155drivers/net/plip.cstatic int plip_rebuild_enethdr(struct device *dev, struct ethhdr *eth,
eth162drivers/net/plip.cstatic int plip_send_start(struct device *dev, struct ethhdr *eth);
eth426drivers/net/plip.cstruct ethhdr eth;
eth442drivers/net/plip.cunsigned char *eth_p = (unsigned char*)ð
eth443drivers/net/plip.cfor ( i = 0; i < sizeof(eth); i++, eth_p++) {
eth456drivers/net/plip.cplip_rebuild_enethdr(dev, &eth, h_dest, h_source, type);
eth488drivers/net/plip.cunsigned char *eth_p = (unsigned char *)&eth;
eth490drivers/net/plip.cfor ( i = 0; i < sizeof(eth); i++) {
eth494drivers/net/plip.cfor ( i = 0; i < length - sizeof(eth); i++) {
eth572drivers/net/plip.cplip_send_start(struct device *dev, struct ethhdr *eth)
eth592drivers/net/plip.cif ( plip_addrcmp(eth) > 0 ) {
eth672drivers/net/plip.cstruct ethhdr *eth = (struct ethhdr *)buf;
eth676drivers/net/plip.cif (eth->h_dest[i] != eth->h_source[i])
eth765drivers/net/plip.cplip_addrcmp(struct ethhdr *eth)
eth769drivers/net/plip.cif (eth->h_dest[i] > eth->h_source[i]) return -1;
eth770drivers/net/plip.cif (eth->h_dest[i] < eth->h_source[i]) return 1;
eth773drivers/net/plip.c*(long*)&eth->h_dest[2],*(short*)&eth->h_dest[0],
eth774drivers/net/plip.c*(long*)&eth->h_source[2],*(short*)&eth->h_source[0]));
eth779drivers/net/plip.cplip_send_enethdr(struct device *dev, struct ethhdr *eth)
eth781drivers/net/plip.csend_byte(dev, eth->h_dest[ETH_ALEN-1]);
eth782drivers/net/plip.csend_byte(dev, eth->h_source[ETH_ALEN-1]);
eth783drivers/net/plip.csend_byte(dev, eth->h_proto >> 8);
eth784drivers/net/plip.csend_byte(dev, eth->h_proto);
eth789drivers/net/plip.cplip_rebuild_enethdr(struct device *dev, struct ethhdr *eth,
eth793drivers/net/plip.ceth->h_proto = type;
eth794drivers/net/plip.cmemcpy(eth->h_dest, dev->dev_addr, ETH_ALEN-1);
eth795drivers/net/plip.ceth->h_dest[ETH_ALEN-1] = dest;
eth796drivers/net/plip.cmemcpy(eth->h_source, dev->dev_addr, ETH_ALEN-1);
eth797drivers/net/plip.ceth->h_source[ETH_ALEN-1] = source;
eth132net/inet/dev.hint        (*rebuild_header)(void *eth, struct device *dev);
eth86net/inet/eth.ceth_dump(struct ethhdr *eth)
eth90net/inet/eth.cprintk("eth: SRC = %s ", eth_print(eth->h_source));
eth91net/inet/eth.cprintk("DST = %s ", eth_print(eth->h_dest));
eth92net/inet/eth.cprintk("TYPE = %04X\n", ntohs(eth->h_proto));
eth101net/inet/eth.cstruct ethhdr *eth;
eth107net/inet/eth.ceth = (struct ethhdr *) buff;
eth108net/inet/eth.ceth->h_proto = htons(type);
eth113net/inet/eth.cmemcpy(eth->h_source, dev->dev_addr, dev->addr_len);
eth114net/inet/eth.cmemset(eth->h_dest, 0, dev->addr_len);
eth121net/inet/eth.cmemcpy(eth->h_source, dev->dev_addr, dev->addr_len);
eth122net/inet/eth.cmemcpy(eth->h_dest, dev->broadcast, dev->addr_len);
eth126net/inet/eth.cmemcpy(eth->h_source, &saddr, 4);
eth128net/inet/eth.cif (arp_find(eth->h_dest, daddr, dev, dev->pa_addr)) 
eth137net/inet/eth.cmemcpy(eth->h_source,dev->dev_addr,dev->addr_len);  /* This was missing causing chaos if the
eth149net/inet/eth.cstruct ethhdr *eth;
eth153net/inet/eth.ceth = (struct ethhdr *) buff;
eth154net/inet/eth.csrc = *(unsigned long *) eth->h_source;
eth155net/inet/eth.cdst = *(unsigned long *) eth->h_dest;
eth158net/inet/eth.cif(eth->h_proto!=htons(ETH_P_ARP))  /* This ntohs kind of helps a bit! */
eth159net/inet/eth.cif (arp_find(eth->h_dest, dst, dev, dev->pa_addr /* src */)) return(1);
eth160net/inet/eth.cmemcpy(eth->h_source, dev->dev_addr, dev->addr_len);
eth169net/inet/eth.cstruct ethhdr *eth;
eth171net/inet/eth.ceth = (struct ethhdr *) skb->data;
eth172net/inet/eth.carp_add(addr, eth->h_source, dev);
eth180net/inet/eth.cstruct ethhdr *eth;
eth182net/inet/eth.ceth = (struct ethhdr *) skb->data;
eth184net/inet/eth.cif(ntohs(eth->h_proto)<1536)
eth186net/inet/eth.creturn(eth->h_proto);
eth26net/inet/eth.hextern void    eth_dump(struct ethhdr *eth);
eth53net/inet/skbuff.hstruct ethhdr  *eth;