tag | line | file | source code |
addr_len | 1086 | drivers/net/arcnet.c | dev->addr_len=1; |
addr_len | 143 | drivers/net/loopback.c | dev->addr_len = ETH_ALEN; /* 6 */ |
addr_len | 143 | drivers/net/net_init.c | memcpy(dev->dev_addr, addr->sa_data,dev->addr_len); |
addr_len | 177 | drivers/net/net_init.c | dev->addr_len = ETH_ALEN; |
addr_len | 207 | drivers/net/net_init.c | dev->addr_len = TR_ALEN; |
addr_len | 1280 | drivers/net/pi2.c | memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); /* addr is an AX.25 shifted ASCII */ |
addr_len | 1432 | drivers/net/pi2.c | dev->addr_len = 7; /* sizeof an ax.25 address */ |
addr_len | 869 | drivers/net/plip.c | memcpy(eth->h_source, dev->dev_addr, dev->addr_len); |
addr_len | 481 | drivers/net/ppp.c | dev->addr_len = 0; |
addr_len | 743 | drivers/net/pt.c | memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); /* addr is an AX.25 shifted ASCII */ |
addr_len | 899 | drivers/net/pt.c | dev->addr_len = 7; /* sizeof an ax.25 address */ |
addr_len | 1066 | drivers/net/slip.c | sl->dev->addr_len=AX25_ADDR_LEN; /* sizeof an AX.25 addr */ |
addr_len | 1069 | drivers/net/slip.c | sl->dev->addr_len=0; /* No mac addr in slip mode */ |
addr_len | 1206 | drivers/net/slip.c | dev->addr_len = 0; |
addr_len | 88 | drivers/net/tunnel.c | dev->addr_len=0; |
addr_len | 32 | fs/ncpfs/sock.c | struct sockaddr_ipx *sa, int *addr_len) |
addr_len | 42 | fs/ncpfs/sock.c | if (addr_len) |
addr_len | 43 | fs/ncpfs/sock.c | msg.msg_namelen = *addr_len; |
addr_len | 48 | fs/ncpfs/sock.c | return sock->ops->recvmsg(sock, &msg, size, noblock, flags, addr_len); |
addr_len | 53 | fs/ncpfs/sock.c | struct sockaddr_ipx *sa, int addr_len) |
addr_len | 63 | fs/ncpfs/sock.c | msg.msg_namelen = addr_len; |
addr_len | 81 | fs/ncpfs/sock.c | int addr_len = sizeof(struct sockaddr_ipx); |
addr_len | 89 | fs/ncpfs/sock.c | &sender, &addr_len); |
addr_len | 98 | fs/ncpfs/sock.c | &sender, &addr_len); |
addr_len | 214 | fs/nfs/nfsroot.c | if (rarp->ar_hln != dev->addr_len || dev->type != ntohs(rarp->ar_hrd)) { |
addr_len | 237 | fs/nfs/nfsroot.c | rarp_ptr += dev->addr_len; |
addr_len | 241 | fs/nfs/nfsroot.c | rarp_ptr += dev->addr_len; |
addr_len | 245 | fs/nfs/nfsroot.c | if (memcmp(tha, dev->dev_addr, dev->addr_len)) { |
addr_len | 28 | fs/smbfs/sock.c | struct sockaddr_in *sa, int *addr_len) |
addr_len | 38 | fs/smbfs/sock.c | if (addr_len) |
addr_len | 39 | fs/smbfs/sock.c | msg.msg_namelen = *addr_len; |
addr_len | 44 | fs/smbfs/sock.c | return sock->ops->recvmsg(sock, &msg, size, noblock, flags, addr_len); |
addr_len | 118 | include/linux/net.h | int (*recvmsg) (struct socket *sock, struct msghdr *m, int total_len, int nonblock, int flags, int *addr_len); |
addr_len | 139 | include/linux/netdevice.h | unsigned char addr_len; /* hardware address length */ |
addr_len | 28 | include/net/raw.h | struct sockaddr_in *sin, int *addr_len); |
addr_len | 283 | include/net/sock.h | struct sockaddr_in *usin, int addr_len); |
addr_len | 308 | include/net/sock.h | int noblock, int flags, int *addr_len); |
addr_len | 309 | include/net/sock.h | int (*bind)(struct sock *sk, struct sockaddr *uaddr, int addr_len); |
addr_len | 40 | include/net/udp.h | struct sockaddr_in *sin, int *addr_len); |
addr_len | 44 | include/net/udp.h | struct sockaddr_in *usin, int addr_len); |
addr_len | 52 | net/802/tr.c | memcpy(trh->saddr,saddr,dev->addr_len); |
addr_len | 54 | net/802/tr.c | memset(trh->saddr,0,dev->addr_len); /* Adapter fills in address */ |
addr_len | 63 | net/802/tr.c | memcpy(trh->daddr,daddr,dev->addr_len); |
addr_len | 1205 | net/appletalk/ddp.c | static int atalk_bind(struct socket *sock, struct sockaddr *uaddr,int addr_len) |
addr_len | 1215 | net/appletalk/ddp.c | if(addr_len!=sizeof(struct sockaddr_at)) |
addr_len | 1260 | net/appletalk/ddp.c | int addr_len, int flags) |
addr_len | 1268 | net/appletalk/ddp.c | if(addr_len!=sizeof(*addr)) |
addr_len | 1699 | net/appletalk/ddp.c | static int atalk_recvmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, int flags, int *addr_len) |
addr_len | 1711 | net/appletalk/ddp.c | if(addr_len) |
addr_len | 1712 | net/appletalk/ddp.c | *addr_len=sizeof(*sat); |
addr_len | 1115 | net/ax25/af_ax25.c | static int ax25_bind(struct socket *sock, struct sockaddr *uaddr,int addr_len) |
addr_len | 1127 | net/ax25/af_ax25.c | if (addr_len != sizeof(struct sockaddr_ax25) && addr_len != sizeof(struct full_sockaddr_ax25)) |
addr_len | 1147 | net/ax25/af_ax25.c | if (addr_len == sizeof(struct full_sockaddr_ax25) && addr->fsa_ax25.sax25_ndigis == 1) { |
addr_len | 1173 | net/ax25/af_ax25.c | int addr_len, int flags) |
addr_len | 1195 | net/ax25/af_ax25.c | if (addr_len != sizeof(struct sockaddr_ax25) && addr_len != sizeof(struct full_sockaddr_ax25)) |
addr_len | 1197 | net/ax25/af_ax25.c | if (addr_len == sizeof(struct full_sockaddr_ax25) && addr->sax25_ndigis != 0) { |
addr_len | 1703 | net/ax25/af_ax25.c | int addr_len=msg->msg_namelen; |
addr_len | 1719 | net/ax25/af_ax25.c | if (addr_len != sizeof(struct sockaddr_ax25) && addr_len != sizeof(struct full_sockaddr_ax25)) |
addr_len | 1723 | net/ax25/af_ax25.c | if (addr_len == sizeof(struct full_sockaddr_ax25) && usax->sax25_ndigis != 0) { |
addr_len | 1829 | net/ax25/af_ax25.c | static int ax25_recvmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, int flags, int *addr_len) |
addr_len | 1841 | net/ax25/af_ax25.c | if (addr_len != NULL) |
addr_len | 1842 | net/ax25/af_ax25.c | *addr_len = sizeof(*sax); |
addr_len | 1871 | net/ax25/af_ax25.c | if (addr_len == (int *)0) |
addr_len | 1873 | net/ax25/af_ax25.c | if (*addr_len != sizeof(struct sockaddr_ax25) && *addr_len != sizeof(struct full_sockaddr_ax25)) |
addr_len | 1885 | net/ax25/af_ax25.c | *addr_len = sizeof(struct sockaddr_ax25); |
addr_len | 1887 | net/ax25/af_ax25.c | if (*addr_len == sizeof(struct full_sockaddr_ax25) && sax->sax25_ndigis != 0) { |
addr_len | 1896 | net/ax25/af_ax25.c | *addr_len = sizeof(struct full_sockaddr_ax25); |
addr_len | 2248 | net/ax25/af_ax25.c | memcpy(buff, daddr, dev->addr_len); /* Address specified */ |
addr_len | 2256 | net/ax25/af_ax25.c | memcpy(buff, saddr, dev->addr_len); |
addr_len | 2258 | net/ax25/af_ax25.c | memcpy(buff, dev->dev_addr, dev->addr_len); |
addr_len | 1261 | net/core/dev.c | dev_mc_add(dev,ifr.ifr_hwaddr.sa_data, dev->addr_len, 1); |
addr_len | 1269 | net/core/dev.c | dev_mc_delete(dev,ifr.ifr_hwaddr.sa_data,dev->addr_len, 1); |
addr_len | 262 | net/core/net_alias.c | dev->addr_len = main_dev->addr_len; |
addr_len | 109 | net/ethernet/eth.c | memcpy(eth->h_source,saddr,dev->addr_len); |
addr_len | 111 | net/ethernet/eth.c | memcpy(eth->h_source,dev->dev_addr,dev->addr_len); |
addr_len | 119 | net/ethernet/eth.c | memset(eth->h_dest, 0, dev->addr_len); |
addr_len | 125 | net/ethernet/eth.c | memcpy(eth->h_dest,daddr,dev->addr_len); |
addr_len | 151 | net/ethernet/eth.c | memcpy(eth->h_source, dev->dev_addr, dev->addr_len); |
addr_len | 823 | net/ipv4/af_inet.c | int addr_len) |
addr_len | 835 | net/ipv4/af_inet.c | return sk->prot->bind(sk,uaddr, addr_len); |
addr_len | 840 | net/ipv4/af_inet.c | if(addr_len<sizeof(struct sockaddr_in)) |
addr_len | 933 | net/ipv4/af_inet.c | int addr_len, int flags) |
addr_len | 959 | net/ipv4/af_inet.c | err = sk->prot->connect(sk, (struct sockaddr_in *)uaddr, addr_len); |
addr_len | 1128 | net/ipv4/af_inet.c | int flags, int *addr_len ) |
addr_len | 1139 | net/ipv4/af_inet.c | return(sk->prot->recvmsg(sk, ubuf, size, noblock, flags,addr_len)); |
addr_len | 644 | net/ipv4/arp.c | skb = alloc_skb(sizeof(struct arphdr)+ 2*(dev->addr_len+4) |
addr_len | 652 | net/ipv4/arp.c | arp = (struct arphdr *) skb_put(skb,sizeof(struct arphdr) + 2*(dev->addr_len+4)); |
addr_len | 675 | net/ipv4/arp.c | arp->ar_hln = dev->addr_len; |
addr_len | 681 | net/ipv4/arp.c | memcpy(arp_ptr, src_hw, dev->addr_len); |
addr_len | 682 | net/ipv4/arp.c | arp_ptr+=dev->addr_len; |
addr_len | 686 | net/ipv4/arp.c | memcpy(arp_ptr, target_hw, dev->addr_len); |
addr_len | 688 | net/ipv4/arp.c | memset(arp_ptr, 0, dev->addr_len); |
addr_len | 689 | net/ipv4/arp.c | arp_ptr+=dev->addr_len; |
addr_len | 796 | net/ipv4/arp.c | if (arp->ar_hln != dev->addr_len || |
addr_len | 863 | net/ipv4/arp.c | arp_ptr += dev->addr_len; |
addr_len | 867 | net/ipv4/arp.c | arp_ptr += dev->addr_len; |
addr_len | 950 | net/ipv4/arp.c | memcpy(ha, proxy_entry->ha, dev->addr_len); |
addr_len | 1002 | net/ipv4/arp.c | memcpy(entry->ha, sha, dev->addr_len); |
addr_len | 1043 | net/ipv4/arp.c | memcpy(entry->ha, sha, dev->addr_len); |
addr_len | 1131 | net/ipv4/arp.c | memcpy(haddr, entry->ha, dev->addr_len); |
addr_len | 1147 | net/ipv4/arp.c | memcpy(haddr, dev->dev_addr, dev->addr_len); |
addr_len | 1171 | net/ipv4/arp.c | memcpy(haddr, dev->broadcast, dev->addr_len); |
addr_len | 1249 | net/ipv4/arp.c | memcpy(haddr, entry->ha, dev->addr_len); |
addr_len | 1268 | net/ipv4/arp.c | memset(entry->ha, 0, dev->addr_len); |
addr_len | 1354 | net/ipv4/arp.c | for(k=0,j=0;k<HBUFFERLEN-3 && j<entry->dev->addr_len;j++) |
addr_len | 1502 | net/ipv4/arp.c | memset(entry->ha, 0, dev->addr_len); |
addr_len | 1752 | net/ipv4/arp.c | if ((r->arp_flags & ATF_COM) && empty(ha, dev->addr_len)) |
addr_len | 1754 | net/ipv4/arp.c | memcpy(entry->ha, ha, dev->addr_len); |
addr_len | 1801 | net/ipv4/arp.c | memcpy(r->arp_ha.sa_data, &entry->ha, entry->dev->addr_len); |
addr_len | 270 | net/ipv4/packet.c | static int packet_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len) |
addr_len | 278 | net/ipv4/packet.c | if(addr_len!=sizeof(struct sockaddr)) |
addr_len | 380 | net/ipv4/packet.c | int noblock, int flags,int *addr_len) |
addr_len | 402 | net/ipv4/packet.c | if (addr_len) |
addr_len | 403 | net/ipv4/packet.c | *addr_len=sizeof(*saddr); |
addr_len | 208 | net/ipv4/rarp.c | if (rarp->ar_hln != dev->addr_len || dev->type != ntohs(rarp->ar_hrd) |
addr_len | 247 | net/ipv4/rarp.c | rarp_ptr+=dev->addr_len; |
addr_len | 251 | net/ipv4/rarp.c | rarp_ptr+=dev->addr_len; |
addr_len | 192 | net/ipv4/raw.c | int len, int noblock, unsigned flags, struct sockaddr_in *usin, int addr_len) |
addr_len | 212 | net/ipv4/raw.c | if (addr_len < sizeof(sin)) |
addr_len | 314 | net/ipv4/raw.c | int noblock, int flags,int *addr_len) |
addr_len | 327 | net/ipv4/raw.c | if (addr_len) |
addr_len | 328 | net/ipv4/raw.c | *addr_len=sizeof(*sin); |
addr_len | 2245 | net/ipv4/tcp.c | struct msghdr *msg, int len, int flags, int *addr_len) |
addr_len | 2285 | net/ipv4/tcp.c | if(addr_len) |
addr_len | 2286 | net/ipv4/tcp.c | *addr_len=sizeof(struct sockaddr_in); |
addr_len | 2308 | net/ipv4/tcp.c | int len, int nonblock, int flags, int *addr_len) |
addr_len | 2328 | net/ipv4/tcp.c | return tcp_recv_urg(sk, nonblock, msg, len, flags, addr_len); |
addr_len | 2531 | net/ipv4/tcp.c | if(addr_len) |
addr_len | 2532 | net/ipv4/tcp.c | *addr_len=sizeof(struct sockaddr_in); |
addr_len | 4557 | net/ipv4/tcp.c | static int tcp_connect(struct sock *sk, struct sockaddr_in *usin, int addr_len) |
addr_len | 4577 | net/ipv4/tcp.c | if (addr_len < 8) |
addr_len | 339 | net/ipv4/udp.c | unsigned flags, struct sockaddr_in *usin, int addr_len) |
addr_len | 357 | net/ipv4/udp.c | if (addr_len < sizeof(sin)) |
addr_len | 500 | net/ipv4/udp.c | int noblock, int flags,int *addr_len) |
addr_len | 512 | net/ipv4/udp.c | if (addr_len) |
addr_len | 513 | net/ipv4/udp.c | *addr_len=sizeof(*sin); |
addr_len | 547 | net/ipv4/udp.c | int udp_connect(struct sock *sk, struct sockaddr_in *usin, int addr_len) |
addr_len | 550 | net/ipv4/udp.c | if (addr_len < sizeof(*usin)) |
addr_len | 483 | net/ipx/af_ipx.c | int addr_len; |
addr_len | 560 | net/ipx/af_ipx.c | addr_len = dev->addr_len; |
addr_len | 562 | net/ipx/af_ipx.c | memcpy(dest_node, dev->broadcast, addr_len); |
addr_len | 564 | net/ipx/af_ipx.c | memcpy(dest_node, &(node[IPX_NODE_LEN-addr_len]), addr_len); |
addr_len | 799 | net/ipx/af_ipx.c | if(dev->addr_len>IPX_NODE_LEN) |
addr_len | 820 | net/ipx/af_ipx.c | memcpy((char *)&(intrfc->if_node[IPX_NODE_LEN-dev->addr_len]), dev->dev_addr, dev->addr_len); |
addr_len | 880 | net/ipx/af_ipx.c | if(dev->addr_len>IPX_NODE_LEN) return NULL; |
addr_len | 894 | net/ipx/af_ipx.c | memcpy((char *)&(intrfc->if_node[IPX_NODE_LEN-dev->addr_len]), |
addr_len | 895 | net/ipx/af_ipx.c | dev->dev_addr, dev->addr_len); |
addr_len | 1554 | net/ipx/af_ipx.c | static int ipx_bind(struct socket *sock, struct sockaddr *uaddr,int addr_len) |
addr_len | 1565 | net/ipx/af_ipx.c | if(addr_len!=sizeof(struct sockaddr_ipx)) |
addr_len | 1600 | net/ipx/af_ipx.c | int addr_len, int flags) |
addr_len | 1608 | net/ipx/af_ipx.c | if(addr_len!=sizeof(*addr)) |
addr_len | 1829 | net/ipx/af_ipx.c | int flags, int *addr_len) |
addr_len | 1850 | net/ipx/af_ipx.c | if(addr_len) |
addr_len | 1851 | net/ipx/af_ipx.c | *addr_len=sizeof(*sipx); |
addr_len | 674 | net/netrom/af_netrom.c | static int nr_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) |
addr_len | 686 | net/netrom/af_netrom.c | if (addr_len != sizeof(struct sockaddr_ax25) && addr_len != sizeof(struct full_sockaddr_ax25)) |
addr_len | 736 | net/netrom/af_netrom.c | int addr_len, int flags) |
addr_len | 759 | net/netrom/af_netrom.c | if (addr_len != sizeof(struct sockaddr_ax25)) |
addr_len | 1132 | net/netrom/af_netrom.c | int flags, int *addr_len) |
addr_len | 1143 | net/netrom/af_netrom.c | if (addr_len != NULL) |
addr_len | 1144 | net/netrom/af_netrom.c | *addr_len = sizeof(*sax); |
addr_len | 1173 | net/netrom/af_netrom.c | *addr_len = sizeof(*sax); |
addr_len | 81 | net/netrom/nr_dev.c | memcpy(buff, (saddr != NULL) ? saddr : dev->dev_addr, dev->addr_len); |
addr_len | 88 | net/netrom/nr_dev.c | memcpy(buff, daddr, dev->addr_len); |
addr_len | 145 | net/netrom/nr_dev.c | memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); |
addr_len | 218 | net/netrom/nr_dev.c | dev->addr_len = AX25_ADDR_LEN; |
addr_len | 899 | net/socket.c | struct sockaddr *addr, int addr_len) |
addr_len | 919 | net/socket.c | if((err=move_addr_to_kernel(addr,addr_len,address))<0) |
addr_len | 925 | net/socket.c | msg.msg_namelen=addr_len; |
addr_len | 977 | net/socket.c | struct sockaddr *addr, int *addr_len) |
addr_len | 1011 | net/socket.c | if(addr!=NULL && (err=move_addr_to_user(address,alen, addr, addr_len))<0) |
addr_len | 1121 | net/socket.c | int addr_len; |
addr_len | 1142 | net/socket.c | len=sock->ops->recvmsg(sock, &msg_sys, total_len, (file->f_flags&O_NONBLOCK), flags, &addr_len); |
addr_len | 1148 | net/socket.c | if(msg_sys.msg_name!=NULL && (err=move_addr_to_user(address,addr_len, msg_sys.msg_name, &msg_sys.msg_namelen))<0) |
addr_len | 403 | net/unix/af_unix.c | static int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) |
addr_len | 413 | net/unix/af_unix.c | if(addr_len>sizeof(struct sockaddr_un) || addr_len<3 || sunaddr->sun_family!=AF_UNIX) |
addr_len | 415 | net/unix/af_unix.c | unix_mkname(sunaddr, addr_len); |
addr_len | 422 | net/unix/af_unix.c | sk->protinfo.af_unix.name=kmalloc(addr_len+1, GFP_KERNEL); |
addr_len | 425 | net/unix/af_unix.c | memcpy(sk->protinfo.af_unix.name, sunaddr->sun_path, addr_len+1); |
addr_len | 438 | net/unix/af_unix.c | kfree_s(sk->protinfo.af_unix.name,addr_len+1); |
addr_len | 450 | net/unix/af_unix.c | static int unix_connect(struct socket *sock, struct sockaddr *uaddr, int addr_len, int flags) |
addr_len | 475 | net/unix/af_unix.c | if(addr_len < sizeof(sunaddr->sun_family)+1 || sunaddr->sun_family!=AF_UNIX) |
addr_len | 478 | net/unix/af_unix.c | unix_mkname(sunaddr, addr_len); |
addr_len | 514 | net/unix/af_unix.c | unix_mkname(sunaddr, addr_len); |
addr_len | 816 | net/unix/af_unix.c | static int unix_recvmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, int flags, int *addr_len) |
addr_len | 831 | net/unix/af_unix.c | if(addr_len) |
addr_len | 832 | net/unix/af_unix.c | *addr_len=0; |
addr_len | 873 | net/unix/af_unix.c | if(addr_len) |
addr_len | 874 | net/unix/af_unix.c | *addr_len=strlen(sunaddr->sun_path)+sizeof(short); |
addr_len | 877 | net/unix/af_unix.c | if(addr_len) |
addr_len | 878 | net/unix/af_unix.c | *addr_len=sizeof(short); |