/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ethernet/ |
H A D | eth.c | 8 * Version: @(#)eth.c 1.0.7 05/25/93 83 struct ethhdr *eth = (struct ethhdr *)skb_push(skb, ETH_HLEN); local 86 eth->h_proto = htons(type); 88 eth->h_proto = htons(len); 96 memcpy(eth->h_source, saddr, ETH_ALEN); 99 memcpy(eth->h_dest, daddr, ETH_ALEN); 108 memset(eth->h_dest, 0, ETH_ALEN); 128 struct ethhdr *eth = (struct ethhdr *)skb->data; local 131 switch (eth->h_proto) { 134 return arp_find(eth 160 struct ethhdr *eth; local 224 const struct ethhdr *eth = eth_hdr(skb); local 239 struct ethhdr *eth; local [all...] |
H A D | Makefile | 5 obj-y += eth.o
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/sample/sample-scripts/ |
H A D | bridge-start | 17 eth="eth0" 27 brctl addif $br $eth 37 ifconfig $eth 0.0.0.0 promisc up
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/ |
H A D | meth.c | 101 mace->eth.mac_addr = macaddr; 108 while ((___rval = mace->eth.phy_data) & MDIO_BUSY) { \ 116 mace->eth.phy_regs = (priv->phy_addr << 5) | (phyreg & 0x1f); 118 mace->eth.phy_trans_go = 1; 187 mace->eth.mac_ctrl = priv->mac_ctrl; 196 mace->eth.mac_ctrl = priv->mac_ctrl; 210 mace->eth.tx_ring_base = priv->tx_ring_dma; 231 mace->eth.rx_fifo = priv->rx_ring_dmas[i]; 269 mace->eth.mac_ctrl = SGI_MAC_RESET; 271 mace->eth [all...] |
H A D | myri_sbus.c | 386 struct ethhdr *eth; local 391 eth = eth_hdr(skb); 395 dump_ehdr(eth); 397 if (*eth->h_dest & 1) { 398 if (memcmp(eth->h_dest, dev->broadcast, ETH_ALEN)==0) 403 if (memcmp(eth->h_dest, dev->dev_addr, ETH_ALEN)) 407 if (ntohs(eth->h_proto) >= 1536) 408 return eth->h_proto; 706 struct ethhdr *eth = (struct ethhdr *) skb_push(skb, ETH_HLEN); local 711 dump_ehdr(eth); 754 struct ethhdr *eth = (struct ethhdr *) (pad + MYRI_PAD_LEN); local 790 struct ethhdr *eth; local [all...] |
H A D | plip.c | 544 struct ethhdr *eth; local 549 eth = eth_hdr(skb); 551 if(*eth->h_dest&1) 553 if(memcmp(eth->h_dest,dev->broadcast, ETH_ALEN)==0) 564 if (ntohs(eth->h_proto) >= 1536) 565 return eth->h_proto; 996 plip_rewrite_address(const struct net_device *dev, struct ethhdr *eth) argument 1004 memcpy(eth->h_source, dev->dev_addr, 6); 1005 memset(eth->h_dest, 0xfc, 2); 1006 memcpy(eth 1032 struct ethhdr *eth; local [all...] |
H A D | macvlan.c | 105 const struct ethhdr *eth, bool local) 115 if (!compare_ether_addr_64bits(eth->h_dest, 129 const struct ethhdr *eth = eth_hdr(skb); local 145 err = macvlan_broadcast_one(nskb, vlan, eth, 157 const struct ethhdr *eth = eth_hdr(skb); local 165 if (is_multicast_ether_addr(eth->h_dest)) { 166 src = macvlan_hash_lookup(port, eth->h_source); 188 vlan = macvlan_hash_lookup(port, eth->h_dest); 219 const struct ethhdr *eth = (void *)skb->data; local 222 if (is_multicast_ether_addr(eth 103 macvlan_broadcast_one(struct sk_buff *skb, const struct macvlan_dev *vlan, const struct ethhdr *eth, bool local) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/ |
H A D | if_arcnet.h | 84 struct ethhdr eth; /* standard ethernet header (yuck!) */ member in struct:arc_eth_encap
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/cris/include/arch-v32/mach-a3/mach/ |
H A D | startup.inc | 48 ;; If eth_mdio, eth, geth bits are set in hwprot, don't 51 move.d 0xFC000000, $r2 ; pins 25..0 are eth_mdio, eth, geth 54 btstq REG_BIT(pinmux, rw_hwprot, eth), $r0 55 GIO_SET_P 0x00FFFF00, $r2 ;; pins 8..23 are eth
|
/netgear-R7000-V1.0.7.12_1.2.5/src/router/udev/extras/rule_generator/ |
H A D | write_net_rules | 72 eth*|ath*|wlan*|ra*|sta*) ;;
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/dhcp6/ |
H A D | dhcp6r.c | 64 char *sf, *eth, *addr; local 185 eth = strtok(sf, "+"); 186 if (eth == NULL) { 190 addr = strtok((sf+strlen(eth)+1), "\0"); 207 if ((iface = get_interface_s(eth)) != NULL) { 220 "SETTING UP SERVER ADDRESS: ", addr, eth);
|
/netgear-R7000-V1.0.7.12_1.2.5/src/router/dhcp6/ |
H A D | dhcp6r.c | 64 char *sf, *eth, *addr; local 185 eth = strtok(sf, "+"); 186 if (eth == NULL) { 190 addr = strtok((sf+strlen(eth)+1), "\0"); 207 if ((iface = get_interface_s(eth)) != NULL) { 220 "SETTING UP SERVER ADDRESS: ", addr, eth);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/dvb/dvb-core/ |
H A D | dvb_net.c | 163 * stolen from eth.c out of the linux kernel, hacked for dvb-device 169 struct ethhdr *eth; local 174 eth = eth_hdr(skb); 176 if (*eth->h_dest & 1) { 177 if(memcmp(eth->h_dest,dev->broadcast, ETH_ALEN)==0) 183 if (ntohs(eth->h_proto) >= 1536) 184 return eth->h_proto; 589 /* Leave space for Ethernet or bridged SNDU header (eth hdr plus one MAC addr). */ 807 u8 *eth; local 854 eth [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/gadget/ |
H A D | g_ffs.c | 145 int (*eth)(struct usb_configuration *c, u8 *ethaddr); member in struct:gfs_configuration 149 .eth = rndis_bind_config, 155 .eth = eth_bind_config, 327 if (gc->eth) { 328 ret = gc->eth(c, gfs_hostaddr);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/cris/include/arch-v32/mach-a3/mach/hwregs/ |
H A D | intr_vect_defs.h | 251 unsigned int eth : 1; member in struct:__anon8769 264 unsigned int eth : 1; member in struct:__anon8770 276 unsigned int eth : 1; member in struct:__anon8771 288 unsigned int eth : 1; member in struct:__anon8772
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/mach-netx/ |
H A D | nxdkn.c | 32 #include <mach/eth.h> 41 .name = "netx-eth", 55 .name = "netx-eth",
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/drivers/ |
H A D | net_kern.c | 395 "net_device for eth%d\n", n); 406 snprintf(dev->name, sizeof(dev->name), "eth%d", n); 557 static int check_transport(struct transport *transport, char *eth, int n, argument 563 if (strncmp(eth, transport->name, len)) 566 eth += len; 567 if (*eth == ',') 568 eth++; 569 else if (*eth != '\0') 576 if (!transport->setup(eth, mac_out, *init_out)) { 586 struct eth_init *eth; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/bridge/ |
H A D | br_multicast.c | 347 struct ethhdr *eth; local 350 skb = netdev_alloc_skb_ip_align(br->dev, sizeof(*eth) + sizeof(*iph) + 358 eth = eth_hdr(skb); 360 memcpy(eth->h_source, br->dev->dev_addr, 6); 361 eth->h_dest[0] = 1; 362 eth->h_dest[1] = 0; 363 eth->h_dest[2] = 0x5e; 364 eth->h_dest[3] = 0; 365 eth->h_dest[4] = 0; 366 eth 414 struct ethhdr *eth; local [all...] |
H A D | br_fdb.c | 84 struct ethhdr *eth; local 97 eth = (struct ethhdr *)skb_mac_header(skb); 98 if (eth->h_proto == htons(ETHER_TYPE_ARP)) {
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/openvpn/ |
H A D | mroute.c | 223 const struct openvpn_ethhdr *eth = (const struct openvpn_ethhdr *) BPTR (buf); local 229 memcpy (src->addr, eth->source, 6); 236 memcpy (dest->addr, eth->dest, 6); 239 if (is_mac_mcast_addr (eth->dest)) 251 switch (ntohs (eth->proto))
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/ieee1394/ |
H A D | eth1394.c | 592 dev = alloc_netdev(sizeof(*priv), "eth%d", ether1394_init_dev); 628 * be checked when the eth device is opened. */ 704 /* These functions have been adapted from net/ethernet/eth.c */ 713 struct eth1394hdr *eth = local 716 eth->h_proto = htons(type); 719 memset(eth->h_dest, 0, dev->addr_len); 724 memcpy(eth->h_dest, daddr, dev->addr_len); 740 struct eth1394hdr *eth = (struct eth1394hdr *)skb->data; local 742 if (eth->h_proto == htons(ETH_P_IP)) 743 return arp_find((unsigned char *)ð 763 struct eth1394hdr *eth = local 791 struct eth1394hdr *eth; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/libpcap-1.4.0/msdos/ |
H A D | pktdrvr.h | 131 extern BOOL PktTransmit (const void *eth, int len);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/wireless/ |
H A D | util.c | 522 const struct ethhdr *eth; local 531 eth = (struct ethhdr *) skb_pull(skb, sizeof(struct ethhdr)); 532 if (!eth) 537 __be16 len = eth->h_proto; 541 memcpy(dst, eth->h_dest, ETH_ALEN); 542 memcpy(src, eth->h_source, ETH_ALEN); 567 eth = (struct ethhdr *)skb_pull(skb, ntohs(len) + 569 if (!eth) {
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/hamradio/ |
H A D | bpqether.c | 184 struct ethhdr *eth; local 209 eth = eth_hdr(skb); 212 memcmp(eth->h_source, bpq->acpt_addr, ETH_ALEN))
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/ipw2x00/ |
H A D | libipw_tx.c | 225 struct ethhdr *eth; local 228 eth = (struct ethhdr *)skb->data; 229 if (eth->h_proto != htons(ETH_P_IP))
|