tag | line | file | source code |
addr_len | 1338 | drivers/net/3c505.c | dev->addr_len = ETH_ALEN; |
addr_len | 1341 | drivers/net/3c505.c | for (i = 0; i < dev->addr_len; i++) |
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 | 159 | drivers/net/net_init.c | dev->addr_len = ETH_ALEN; |
addr_len | 529 | drivers/net/plip.c | memcpy(eth->h_source, dev->dev_addr, dev->addr_len); |
addr_len | 276 | drivers/net/ppp.c | dev->addr_len = 0; |
addr_len | 1020 | drivers/net/slip.c | sl->dev->addr_len=7; /* sizeof an AX.25 addr */ |
addr_len | 1023 | drivers/net/slip.c | sl->dev->addr_len=0; /* No mac addr in slip mode */ |
addr_len | 1121 | drivers/net/slip.c | dev->addr_len = 0; |
addr_len | 116 | include/linux/net.h | unsigned flags, struct sockaddr *, int addr_len); |
addr_len | 118 | 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 | 792 | net/inet/af_inet.c | int addr_len) |
addr_len | 805 | net/inet/af_inet.c | if(addr_len<sizeof(struct sockaddr_in)) |
addr_len | 890 | net/inet/af_inet.c | int addr_len, int flags) |
addr_len | 913 | net/inet/af_inet.c | err = sk->prot->connect(sk, (struct sockaddr_in *)uaddr, addr_len); |
addr_len | 1091 | net/inet/af_inet.c | unsigned flags, struct sockaddr *sin, int *addr_len ) |
addr_len | 1103 | net/inet/af_inet.c | (struct sockaddr_in*)sin, addr_len)); |
addr_len | 1149 | net/inet/af_inet.c | unsigned flags, struct sockaddr *sin, int addr_len) |
addr_len | 1165 | net/inet/af_inet.c | (struct sockaddr_in *)sin, addr_len)); |
addr_len | 312 | net/inet/arp.c | skb = alloc_skb(sizeof(struct arphdr)+ 2*(dev->addr_len+4) |
addr_len | 319 | net/inet/arp.c | skb->len = sizeof(struct arphdr) + dev->hard_header_len + 2*(dev->addr_len+4); |
addr_len | 338 | net/inet/arp.c | arp->ar_hln = dev->addr_len; |
addr_len | 344 | net/inet/arp.c | memcpy(arp_ptr, src_hw, dev->addr_len); |
addr_len | 345 | net/inet/arp.c | arp_ptr+=dev->addr_len; |
addr_len | 349 | net/inet/arp.c | memcpy(arp_ptr, dest_hw, dev->addr_len); |
addr_len | 351 | net/inet/arp.c | memset(arp_ptr, 0, dev->addr_len); |
addr_len | 352 | net/inet/arp.c | arp_ptr+=dev->addr_len; |
addr_len | 556 | net/inet/arp.c | if (arp->ar_hln != dev->addr_len || |
addr_len | 601 | net/inet/arp.c | hlen = dev->addr_len; |
addr_len | 806 | net/inet/arp.c | memcpy(haddr, dev->dev_addr, dev->addr_len); |
addr_len | 830 | net/inet/arp.c | memcpy(haddr, dev->broadcast, dev->addr_len); |
addr_len | 866 | net/inet/arp.c | memcpy(haddr, entry->ha, dev->addr_len); |
addr_len | 883 | net/inet/arp.c | entry->hlen = dev->addr_len; |
addr_len | 886 | net/inet/arp.c | memset(entry->ha, 0, dev->addr_len); |
addr_len | 1297 | net/inet/dev.c | dev_mc_add(dev,ifr.ifr_hwaddr.sa_data, dev->addr_len, 1); |
addr_len | 1305 | net/inet/dev.c | dev_mc_delete(dev,ifr.ifr_hwaddr.sa_data,dev->addr_len, 1); |
addr_len | 85 | net/inet/dev_mcast.c | data=kmalloc(dev->mc_count*dev->addr_len, GFP_KERNEL); |
addr_len | 94 | 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 | 333 | net/inet/ipx.c | if(dev->addr_len>6) |
addr_len | 335 | net/inet/ipx.c | if(dev->addr_len<2) |
addr_len | 663 | net/inet/ipx.c | static int ipx_bind(struct socket *sock, struct sockaddr *uaddr,int addr_len) |
addr_len | 675 | net/inet/ipx.c | if(addr_len!=sizeof(struct sockaddr_ipx)) |
addr_len | 722 | net/inet/ipx.c | nodestart = sk->ipx_source_addr.node + (6 - rt->dev->addr_len); |
addr_len | 723 | net/inet/ipx.c | memcpy(nodestart,rt->dev->dev_addr,rt->dev->addr_len); |
addr_len | 733 | net/inet/ipx.c | int addr_len, int flags) |
addr_len | 741 | net/inet/ipx.c | if(addr_len!=sizeof(*addr)) |
addr_len | 852 | net/inet/ipx.c | memcpy(IPXaddr+(6 - dev->addr_len), dev->dev_addr, dev->addr_len); |
addr_len | 963 | net/inet/ipx.c | unsigned flags, struct sockaddr *usip, int addr_len) |
addr_len | 995 | net/inet/ipx.c | if(addr_len <sizeof(*usipx)) |
addr_len | 1079 | net/inet/ipx.c | memcpy(IPXaddr+(6 - skb->dev->addr_len), skb->dev->dev_addr, |
addr_len | 1080 | net/inet/ipx.c | skb->dev->addr_len); |
addr_len | 1144 | net/inet/ipx.c | unsigned flags, struct sockaddr *sip, int *addr_len) |
addr_len | 1161 | net/inet/ipx.c | if(addr_len) |
addr_len | 1162 | net/inet/ipx.c | *addr_len=sizeof(*sipx); |
addr_len | 141 | net/inet/packet.c | int addr_len) |
addr_len | 160 | net/inet/packet.c | if (addr_len < sizeof(*saddr)) |
addr_len | 285 | net/inet/packet.c | int *addr_len) |
addr_len | 303 | net/inet/packet.c | if (addr_len) |
addr_len | 304 | net/inet/packet.c | *addr_len=sizeof(*saddr); |
addr_len | 157 | net/inet/rarp.c | if (rarp->ar_hln != dev->addr_len || dev->type != ntohs(rarp->ar_hrd) |
addr_len | 196 | net/inet/rarp.c | rarp_ptr+=dev->addr_len; |
addr_len | 200 | 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 | 211 | net/inet/sock.h | int addr_len); |
addr_len | 215 | net/inet/sock.h | int *addr_len); |
addr_len | 222 | net/inet/sock.h | struct sockaddr_in *usin, int addr_len); |
addr_len | 1603 | net/inet/tcp.c | struct sockaddr_in *addr, int addr_len) |
addr_len | 1609 | net/inet/tcp.c | if (addr_len < sizeof(*addr)) |
addr_len | 2152 | net/inet/tcp.c | struct sockaddr_in *addr, int *addr_len) |
addr_len | 2162 | net/inet/tcp.c | if(addr_len) |
addr_len | 2163 | net/inet/tcp.c | *addr_len = sizeof(*addr); |
addr_len | 3990 | net/inet/tcp.c | static int tcp_connect(struct sock *sk, struct sockaddr_in *usin, int addr_len) |
addr_len | 4005 | 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 | 1038 | net/socket.c | struct sockaddr *addr, int addr_len) |
addr_len | 1056 | net/socket.c | if((err=move_addr_to_kernel(addr,addr_len,address))<0) |
addr_len | 1060 | net/socket.c | flags, (struct sockaddr *)address, addr_len)); |
addr_len | 1102 | net/socket.c | struct sockaddr *addr, int *addr_len) |
addr_len | 1127 | 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) |