tag | line | file | source code |
addr_len | 1337 | drivers/net/3c505.c | dev->addr_len = ETH_ALEN; |
addr_len | 1340 | drivers/net/3c505.c | for (i = 0; i < dev->addr_len; i++) |
addr_len | 559 | drivers/net/arcnet.c | dev->addr_len=1; |
addr_len | 1996 | drivers/net/arcnet.c | memcpy(eth->h_source,saddr,dev->addr_len); |
addr_len | 1998 | drivers/net/arcnet.c | memcpy(eth->h_source,dev->dev_addr,dev->addr_len); |
addr_len | 2010 | drivers/net/arcnet.c | memset(eth->h_dest, 0, dev->addr_len); |
addr_len | 108 | drivers/net/loopback.c | dev->addr_len = ETH_ALEN; /* 6 */ |
addr_len | 115 | drivers/net/loopback.c | dev->addr_len = 0; |
addr_len | 189 | drivers/net/net_init.c | dev->addr_len = ETH_ALEN; |
addr_len | 857 | drivers/net/plip.c | memcpy(eth->h_source, dev->dev_addr, dev->addr_len); |
addr_len | 281 | drivers/net/ppp.c | dev->addr_len = 0; |
addr_len | 1016 | drivers/net/slip.c | sl->dev->addr_len=7; /* sizeof an AX.25 addr */ |
addr_len | 1019 | drivers/net/slip.c | sl->dev->addr_len=0; /* No mac addr in slip mode */ |
addr_len | 1117 | drivers/net/slip.c | dev->addr_len = 0; |
addr_len | 117 | include/linux/net.h | unsigned flags, struct sockaddr *, int addr_len); |
addr_len | 119 | include/linux/net.h | unsigned flags, struct sockaddr *, int *addr_len); |
addr_len | 116 | include/linux/netdevice.h | unsigned char addr_len; /* hardware address length */ |
addr_len | 830 | net/inet/af_inet.c | int addr_len) |
addr_len | 840 | net/inet/af_inet.c | if(addr_len<sizeof(struct sockaddr_in)) |
addr_len | 929 | net/inet/af_inet.c | int addr_len, int flags) |
addr_len | 952 | net/inet/af_inet.c | err = sk->prot->connect(sk, (struct sockaddr_in *)uaddr, addr_len); |
addr_len | 1130 | net/inet/af_inet.c | unsigned flags, struct sockaddr *sin, int *addr_len ) |
addr_len | 1142 | net/inet/af_inet.c | (struct sockaddr_in*)sin, addr_len)); |
addr_len | 1188 | net/inet/af_inet.c | unsigned flags, struct sockaddr *sin, int addr_len) |
addr_len | 1204 | net/inet/af_inet.c | (struct sockaddr_in *)sin, addr_len)); |
addr_len | 314 | net/inet/arp.c | skb = alloc_skb(sizeof(struct arphdr)+ 2*(dev->addr_len+4) |
addr_len | 321 | net/inet/arp.c | skb->len = sizeof(struct arphdr) + dev->hard_header_len + 2*(dev->addr_len+4); |
addr_len | 340 | net/inet/arp.c | arp->ar_hln = dev->addr_len; |
addr_len | 346 | net/inet/arp.c | memcpy(arp_ptr, src_hw, dev->addr_len); |
addr_len | 347 | net/inet/arp.c | arp_ptr+=dev->addr_len; |
addr_len | 351 | net/inet/arp.c | memcpy(arp_ptr, dest_hw, dev->addr_len); |
addr_len | 353 | net/inet/arp.c | memset(arp_ptr, 0, dev->addr_len); |
addr_len | 354 | net/inet/arp.c | arp_ptr+=dev->addr_len; |
addr_len | 558 | net/inet/arp.c | if (arp->ar_hln != dev->addr_len || |
addr_len | 603 | net/inet/arp.c | hlen = dev->addr_len; |
addr_len | 810 | net/inet/arp.c | memcpy(haddr, dev->dev_addr, dev->addr_len); |
addr_len | 834 | net/inet/arp.c | memcpy(haddr, dev->broadcast, dev->addr_len); |
addr_len | 870 | net/inet/arp.c | memcpy(haddr, entry->ha, dev->addr_len); |
addr_len | 887 | net/inet/arp.c | entry->hlen = dev->addr_len; |
addr_len | 890 | net/inet/arp.c | memset(entry->ha, 0, dev->addr_len); |
addr_len | 1308 | net/inet/dev.c | dev_mc_add(dev,ifr.ifr_hwaddr.sa_data, dev->addr_len, 1); |
addr_len | 1316 | net/inet/dev.c | dev_mc_delete(dev,ifr.ifr_hwaddr.sa_data,dev->addr_len, 1); |
addr_len | 89 | net/inet/dev_mcast.c | data=kmalloc(dev->mc_count*dev->addr_len, GFP_KERNEL); |
addr_len | 98 | net/inet/dev_mcast.c | tmp+=dev->addr_len; |
addr_len | 105 | net/inet/eth.c | memcpy(eth->h_source,saddr,dev->addr_len); |
addr_len | 107 | net/inet/eth.c | memcpy(eth->h_source,dev->dev_addr,dev->addr_len); |
addr_len | 115 | net/inet/eth.c | memset(eth->h_dest, 0, dev->addr_len); |
addr_len | 121 | net/inet/eth.c | memcpy(eth->h_dest,daddr,dev->addr_len); |
addr_len | 147 | net/inet/eth.c | memcpy(eth->h_source, dev->dev_addr, dev->addr_len); |
addr_len | 699 | net/inet/ipx.c | if(dev->addr_len>IPX_NODE_LEN) |
addr_len | 702 | net/inet/ipx.c | if(dev->addr_len<2) |
addr_len | 723 | net/inet/ipx.c | memcpy((char *)&(intrfc->if_node[IPX_NODE_LEN-dev->addr_len]), dev->dev_addr, dev->addr_len); |
addr_len | 783 | net/inet/ipx.c | if(dev->addr_len>IPX_NODE_LEN) return NULL; |
addr_len | 785 | net/inet/ipx.c | if(dev->addr_len<2) return NULL; |
addr_len | 799 | net/inet/ipx.c | memcpy((char *)&(intrfc->if_node[IPX_NODE_LEN-dev->addr_len]), |
addr_len | 800 | net/inet/ipx.c | dev->dev_addr, dev->addr_len); |
addr_len | 1444 | net/inet/ipx.c | static int ipx_bind(struct socket *sock, struct sockaddr *uaddr,int addr_len) |
addr_len | 1455 | net/inet/ipx.c | if(addr_len!=sizeof(struct sockaddr_ipx)) |
addr_len | 1490 | net/inet/ipx.c | int addr_len, int flags) |
addr_len | 1498 | net/inet/ipx.c | if(addr_len!=sizeof(*addr)) |
addr_len | 1657 | net/inet/ipx.c | unsigned flags, struct sockaddr *usip, int addr_len) |
addr_len | 1678 | net/inet/ipx.c | if(addr_len <sizeof(*usipx)) |
addr_len | 1705 | net/inet/ipx.c | unsigned flags, struct sockaddr *sip, int *addr_len) |
addr_len | 1725 | net/inet/ipx.c | if(addr_len) |
addr_len | 1726 | net/inet/ipx.c | *addr_len=sizeof(*sipx); |
addr_len | 142 | net/inet/packet.c | int addr_len) |
addr_len | 161 | net/inet/packet.c | if (addr_len < sizeof(*saddr)) |
addr_len | 286 | net/inet/packet.c | int *addr_len) |
addr_len | 304 | net/inet/packet.c | if (addr_len) |
addr_len | 305 | net/inet/packet.c | *addr_len=sizeof(*saddr); |
addr_len | 158 | net/inet/rarp.c | if (rarp->ar_hln != dev->addr_len || dev->type != ntohs(rarp->ar_hrd) |
addr_len | 197 | net/inet/rarp.c | rarp_ptr+=dev->addr_len; |
addr_len | 201 | net/inet/rarp.c | rarp_ptr+=dev->addr_len; |
addr_len | 127 | net/inet/raw.c | int len, int noblock, unsigned flags, struct sockaddr_in *usin, int addr_len) |
addr_len | 150 | net/inet/raw.c | if (addr_len < sizeof(sin)) |
addr_len | 244 | net/inet/raw.c | int *addr_len) |
addr_len | 257 | net/inet/raw.c | if (addr_len) |
addr_len | 258 | net/inet/raw.c | *addr_len=sizeof(*sin); |
addr_len | 28 | net/inet/raw.h | struct sockaddr_in *sin, int *addr_len); |
addr_len | 221 | net/inet/sock.h | int addr_len); |
addr_len | 225 | net/inet/sock.h | int *addr_len); |
addr_len | 232 | net/inet/sock.h | struct sockaddr_in *usin, int addr_len); |
addr_len | 1767 | net/inet/tcp.c | struct sockaddr_in *addr, int addr_len) |
addr_len | 1773 | net/inet/tcp.c | if (addr_len < sizeof(*addr)) |
addr_len | 2459 | net/inet/tcp.c | struct sockaddr_in *addr, int *addr_len) |
addr_len | 2469 | net/inet/tcp.c | if(addr_len) |
addr_len | 2470 | net/inet/tcp.c | *addr_len = sizeof(*addr); |
addr_len | 4253 | net/inet/tcp.c | static int tcp_connect(struct sock *sk, struct sockaddr_in *usin, int addr_len) |
addr_len | 4268 | net/inet/tcp.c | if (addr_len < 8) |
addr_len | 343 | net/inet/udp.c | unsigned flags, struct sockaddr_in *usin, int addr_len) |
addr_len | 359 | net/inet/udp.c | if (addr_len < sizeof(sin)) |
addr_len | 469 | net/inet/udp.c | int *addr_len) |
addr_len | 480 | net/inet/udp.c | if (addr_len) |
addr_len | 481 | net/inet/udp.c | *addr_len=sizeof(*sin); |
addr_len | 526 | net/inet/udp.c | int udp_connect(struct sock *sk, struct sockaddr_in *usin, int addr_len) |
addr_len | 530 | net/inet/udp.c | if (addr_len < sizeof(*usin)) |
addr_len | 38 | net/inet/udp.h | struct sockaddr_in *sin, int *addr_len); |
addr_len | 42 | net/inet/udp.h | struct sockaddr_in *usin, int addr_len); |
addr_len | 977 | net/socket.c | struct sockaddr *addr, int addr_len) |
addr_len | 995 | net/socket.c | if((err=move_addr_to_kernel(addr,addr_len,address))<0) |
addr_len | 999 | net/socket.c | flags, (struct sockaddr *)address, addr_len)); |
addr_len | 1041 | net/socket.c | struct sockaddr *addr, int *addr_len) |
addr_len | 1066 | net/socket.c | if(addr!=NULL && (err=move_addr_to_user(address,alen, addr, addr_len))<0) |
addr_len | 86 | net/unix/sock.c | struct sockaddr *addr, int addr_len); |
addr_len | 89 | net/unix/sock.c | struct sockaddr *addr, int *addr_len); |
addr_len | 164 | net/unix/sock.c | unsigned flags, struct sockaddr *addr, int addr_len) |
addr_len | 170 | net/unix/sock.c | unsigned flags, struct sockaddr *addr, int *addr_len) |