tag | line | file | source code |
eth | 880 | drivers/isdn/isdn_net.c | struct ethhdr *eth; |
eth | 884 | drivers/isdn/isdn_net.c | eth= skb->mac.ethernet; |
eth | 886 | drivers/isdn/isdn_net.c | if(*eth->h_dest&1) { |
eth | 887 | drivers/isdn/isdn_net.c | if(memcmp(eth->h_dest,dev->broadcast, ETH_ALEN)==0) |
eth | 899 | drivers/isdn/isdn_net.c | if (memcmp(eth->h_dest,dev->dev_addr, ETH_ALEN)) |
eth | 903 | drivers/isdn/isdn_net.c | if (ntohs(eth->h_proto) >= 1536) |
eth | 904 | drivers/isdn/isdn_net.c | return eth->h_proto; |
eth | 1040 | drivers/isdn/isdn_net.c | struct ethhdr *eth = (struct ethhdr *)skb_push(skb,ETH_HLEN); |
eth | 1049 | drivers/isdn/isdn_net.c | eth->h_proto = htons(type); |
eth | 1051 | drivers/isdn/isdn_net.c | eth->h_proto = htons(len); |
eth | 1057 | drivers/isdn/isdn_net.c | memcpy(eth->h_source,saddr,dev->addr_len); |
eth | 1059 | drivers/isdn/isdn_net.c | memcpy(eth->h_source,dev->dev_addr,dev->addr_len); |
eth | 1066 | drivers/isdn/isdn_net.c | memset(eth->h_dest, 0, dev->addr_len); |
eth | 1071 | drivers/isdn/isdn_net.c | memcpy(eth->h_dest,daddr,dev->addr_len); |
eth | 1147 | drivers/isdn/isdn_net.c | struct ethhdr *eth = (struct ethhdr *)buff; |
eth | 1153 | drivers/isdn/isdn_net.c | if(eth->h_proto != htons(ETH_P_IP)) { |
eth | 1156 | drivers/isdn/isdn_net.c | (int)eth->h_proto); |
eth | 1157 | drivers/isdn/isdn_net.c | memcpy(eth->h_source, dev->dev_addr, dev->addr_len); |
eth | 1164 | drivers/isdn/isdn_net.c | ret = arp_find((unsigned char *)&(eth->h_dest), dst, dev, dev->pa_addr,skb)? 1 : 0; |
eth | 625 | drivers/net/arcnet.c | int arcnetA_rebuild_header(void *eth,struct device *dev,unsigned long raddr, |
eth | 645 | drivers/net/arcnet.c | int arcnetS_rebuild_header(void *eth,struct device *dev,unsigned long raddr, |
eth | 211 | drivers/net/plip.c | int (*orig_rebuild_header)(void *eth, struct device *dev, |
eth | 861 | drivers/net/plip.c | struct ethhdr *eth = (struct ethhdr *)buff; |
eth | 867 | drivers/net/plip.c | if (eth->h_proto != htons(ETH_P_IP)) { |
eth | 868 | drivers/net/plip.c | printk("plip_rebuild_header: Don't know how to resolve type %d addresses?\n", (int)eth->h_proto); |
eth | 869 | drivers/net/plip.c | memcpy(eth->h_source, dev->dev_addr, dev->addr_len); |
eth | 874 | drivers/net/plip.c | eth->h_dest[i] = 0xfc; |
eth | 875 | drivers/net/plip.c | memcpy(&(eth->h_dest[i]), &dst, sizeof(unsigned long)); |
eth | 185 | drivers/net/ppp.c | static int ppp_dev_rebuild (void *eth, struct device *dev, |
eth | 3151 | drivers/net/ppp.c | ppp_dev_rebuild (void *eth, struct device *dev, |
eth | 177 | include/linux/netdevice.h | int (*rebuild_header)(void *eth, struct device *dev, |
eth | 62 | include/linux/skbuff.h | struct ethhdr *eth; |
eth | 93 | net/ethernet/eth.c | struct ethhdr *eth = (struct ethhdr *)skb_push(skb,ETH_HLEN); |
eth | 101 | net/ethernet/eth.c | eth->h_proto = htons(type); |
eth | 103 | net/ethernet/eth.c | eth->h_proto = htons(len); |
eth | 110 | net/ethernet/eth.c | memcpy(eth->h_source,saddr,dev->addr_len); |
eth | 112 | net/ethernet/eth.c | memcpy(eth->h_source,dev->dev_addr,dev->addr_len); |
eth | 120 | net/ethernet/eth.c | memset(eth->h_dest, 0, dev->addr_len); |
eth | 126 | net/ethernet/eth.c | memcpy(eth->h_dest,daddr,dev->addr_len); |
eth | 143 | net/ethernet/eth.c | struct ethhdr *eth = (struct ethhdr *)buff; |
eth | 149 | net/ethernet/eth.c | if(eth->h_proto != htons(ETH_P_IP)) |
eth | 151 | net/ethernet/eth.c | printk(KERN_DEBUG "%s: unable to resolve type %X addresses.\n",dev->name,(int)eth->h_proto); |
eth | 152 | net/ethernet/eth.c | memcpy(eth->h_source, dev->dev_addr, dev->addr_len); |
eth | 160 | net/ethernet/eth.c | return arp_find(eth->h_dest, dst, dev, dev->pa_addr, skb)? 1 : 0; |
eth | 175 | net/ethernet/eth.c | struct ethhdr *eth; |
eth | 180 | net/ethernet/eth.c | eth= skb->mac.ethernet; |
eth | 182 | net/ethernet/eth.c | if(*eth->h_dest&1) |
eth | 184 | net/ethernet/eth.c | if(memcmp(eth->h_dest,dev->broadcast, ETH_ALEN)==0) |
eth | 197 | net/ethernet/eth.c | if(memcmp(eth->h_dest,dev->dev_addr, ETH_ALEN)) |
eth | 201 | net/ethernet/eth.c | if (ntohs(eth->h_proto) >= 1536) |
eth | 202 | net/ethernet/eth.c | return eth->h_proto; |
eth | 271 | net/ethernet/eth.c | struct ethhdr *eth; |
eth | 276 | net/ethernet/eth.c | eth=(struct ethhdr *)dest->data; |
eth | 277 | net/ethernet/eth.c | if(eth->h_proto!=htons(ETH_P_IP)) |