tag | line | file | source code |
addr_len | 992 | drivers/net/arcnet.c | dev->addr_len=1; |
addr_len | 143 | drivers/net/loopback.c | dev->addr_len = ETH_ALEN; /* 6 */ |
addr_len | 139 | drivers/net/net_init.c | memcpy(dev->dev_addr, addr->sa_data,dev->addr_len); |
addr_len | 172 | drivers/net/net_init.c | dev->addr_len = ETH_ALEN; |
addr_len | 202 | 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 | 1065 | drivers/net/slip.c | sl->dev->addr_len=AX25_ADDR_LEN; /* sizeof an AX.25 addr */ |
addr_len | 1068 | drivers/net/slip.c | sl->dev->addr_len=0; /* No mac addr in slip mode */ |
addr_len | 1205 | drivers/net/slip.c | dev->addr_len = 0; |
addr_len | 88 | drivers/net/tunnel.c | dev->addr_len=0; |
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 | 127 | 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 | 291 | include/net/sock.h | struct sockaddr_in *usin, int addr_len); |
addr_len | 316 | include/net/sock.h | int noblock, int flags, int *addr_len); |
addr_len | 317 | 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 | 1111 | net/ax25/af_ax25.c | static int ax25_bind(struct socket *sock, struct sockaddr *uaddr,int addr_len) |
addr_len | 1123 | net/ax25/af_ax25.c | if (addr_len != sizeof(struct sockaddr_ax25) && addr_len != sizeof(struct full_sockaddr_ax25)) |
addr_len | 1143 | net/ax25/af_ax25.c | if (addr_len == sizeof(struct full_sockaddr_ax25) && addr->fsa_ax25.sax25_ndigis == 1) { |
addr_len | 1169 | net/ax25/af_ax25.c | int addr_len, int flags) |
addr_len | 1191 | net/ax25/af_ax25.c | if (addr_len != sizeof(struct sockaddr_ax25) && addr_len != sizeof(struct full_sockaddr_ax25)) |
addr_len | 1193 | net/ax25/af_ax25.c | if (addr_len == sizeof(struct full_sockaddr_ax25) && addr->sax25_ndigis != 0) { |
addr_len | 1697 | net/ax25/af_ax25.c | int addr_len=msg->msg_namelen; |
addr_len | 1713 | net/ax25/af_ax25.c | if (addr_len != sizeof(struct sockaddr_ax25) && addr_len != sizeof(struct full_sockaddr_ax25)) |
addr_len | 1717 | net/ax25/af_ax25.c | if (addr_len == sizeof(struct full_sockaddr_ax25) && usax->sax25_ndigis != 0) { |
addr_len | 1823 | 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 | 1835 | net/ax25/af_ax25.c | if (addr_len != NULL) |
addr_len | 1836 | net/ax25/af_ax25.c | *addr_len = sizeof(*sax); |
addr_len | 1865 | net/ax25/af_ax25.c | if (addr_len == (int *)0) |
addr_len | 1867 | net/ax25/af_ax25.c | if (*addr_len != sizeof(struct sockaddr_ax25) && *addr_len != sizeof(struct full_sockaddr_ax25)) |
addr_len | 1879 | net/ax25/af_ax25.c | *addr_len = sizeof(struct sockaddr_ax25); |
addr_len | 1881 | net/ax25/af_ax25.c | if (*addr_len == sizeof(struct full_sockaddr_ax25) && sax->sax25_ndigis != 0) { |
addr_len | 1890 | net/ax25/af_ax25.c | *addr_len = sizeof(struct full_sockaddr_ax25); |
addr_len | 2216 | net/ax25/af_ax25.c | memcpy(buff, daddr, dev->addr_len); /* Address specified */ |
addr_len | 2224 | net/ax25/af_ax25.c | memcpy(buff, saddr, dev->addr_len); |
addr_len | 2226 | net/ax25/af_ax25.c | memcpy(buff, dev->dev_addr, dev->addr_len); |
addr_len | 1215 | net/core/dev.c | dev_mc_add(dev,ifr.ifr_hwaddr.sa_data, dev->addr_len, 1); |
addr_len | 1223 | net/core/dev.c | dev_mc_delete(dev,ifr.ifr_hwaddr.sa_data,dev->addr_len, 1); |
addr_len | 117 | net/core/dev_mcast.c | data=kmalloc(dev->mc_count*dev->addr_len, GFP_KERNEL); |
addr_len | 126 | net/core/dev_mcast.c | tmp+=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 | 819 | net/ipv4/af_inet.c | int addr_len) |
addr_len | 831 | net/ipv4/af_inet.c | return sk->prot->bind(sk,uaddr, addr_len); |
addr_len | 836 | net/ipv4/af_inet.c | if(addr_len<sizeof(struct sockaddr_in)) |
addr_len | 928 | net/ipv4/af_inet.c | int addr_len, int flags) |
addr_len | 954 | net/ipv4/af_inet.c | err = sk->prot->connect(sk, (struct sockaddr_in *)uaddr, addr_len); |
addr_len | 1119 | net/ipv4/af_inet.c | int flags, int *addr_len ) |
addr_len | 1130 | net/ipv4/af_inet.c | return(sk->prot->recvmsg(sk, ubuf, size, noblock, flags,addr_len)); |
addr_len | 358 | net/ipv4/arp.c | skb = alloc_skb(sizeof(struct arphdr)+ 2*(dev->addr_len+4) |
addr_len | 366 | net/ipv4/arp.c | arp = (struct arphdr *) skb_put(skb,sizeof(struct arphdr) + 2*(dev->addr_len+4)); |
addr_len | 388 | net/ipv4/arp.c | arp->ar_hln = dev->addr_len; |
addr_len | 394 | net/ipv4/arp.c | memcpy(arp_ptr, src_hw, dev->addr_len); |
addr_len | 395 | net/ipv4/arp.c | arp_ptr+=dev->addr_len; |
addr_len | 399 | net/ipv4/arp.c | memcpy(arp_ptr, dest_hw, dev->addr_len); |
addr_len | 401 | net/ipv4/arp.c | memset(arp_ptr, 0, dev->addr_len); |
addr_len | 402 | net/ipv4/arp.c | arp_ptr+=dev->addr_len; |
addr_len | 620 | net/ipv4/arp.c | if (arp->ar_hln != dev->addr_len || |
addr_len | 686 | net/ipv4/arp.c | hlen = dev->addr_len; |
addr_len | 919 | net/ipv4/arp.c | memcpy(haddr, dev->dev_addr, dev->addr_len); |
addr_len | 944 | net/ipv4/arp.c | memcpy(haddr, dev->broadcast, dev->addr_len); |
addr_len | 980 | net/ipv4/arp.c | memcpy(haddr, entry->ha, dev->addr_len); |
addr_len | 1000 | net/ipv4/arp.c | memset(entry->ha, 0, dev->addr_len); |
addr_len | 1001 | net/ipv4/arp.c | entry->hlen = dev->addr_len; |
addr_len | 1162 | net/ipv4/arp.c | memcpy(dp, dev->dev_addr, dev->addr_len); |
addr_len | 1185 | net/ipv4/arp.c | memcpy(dp, dev->broadcast, 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 | 181 | net/ipv4/raw.c | int len, int noblock, unsigned flags, struct sockaddr_in *usin, int addr_len) |
addr_len | 201 | net/ipv4/raw.c | if (addr_len < sizeof(sin)) |
addr_len | 299 | net/ipv4/raw.c | int noblock, int flags,int *addr_len) |
addr_len | 312 | net/ipv4/raw.c | if (addr_len) |
addr_len | 313 | net/ipv4/raw.c | *addr_len=sizeof(*sin); |
addr_len | 2168 | net/ipv4/tcp.c | struct msghdr *msg, int len, int flags, int *addr_len) |
addr_len | 2208 | net/ipv4/tcp.c | if(addr_len) |
addr_len | 2209 | net/ipv4/tcp.c | *addr_len=sizeof(struct sockaddr_in); |
addr_len | 2231 | net/ipv4/tcp.c | int len, int nonblock, int flags, int *addr_len) |
addr_len | 2251 | net/ipv4/tcp.c | return tcp_recv_urg(sk, nonblock, msg, len, flags, addr_len); |
addr_len | 2454 | net/ipv4/tcp.c | if(addr_len) |
addr_len | 2455 | net/ipv4/tcp.c | *addr_len=sizeof(struct sockaddr_in); |
addr_len | 4461 | net/ipv4/tcp.c | static int tcp_connect(struct sock *sk, struct sockaddr_in *usin, int addr_len) |
addr_len | 4481 | net/ipv4/tcp.c | if (addr_len < 8) |
addr_len | 333 | net/ipv4/udp.c | unsigned flags, struct sockaddr_in *usin, int addr_len) |
addr_len | 351 | net/ipv4/udp.c | if (addr_len < sizeof(sin)) |
addr_len | 494 | net/ipv4/udp.c | int noblock, int flags,int *addr_len) |
addr_len | 506 | net/ipv4/udp.c | if (addr_len) |
addr_len | 507 | net/ipv4/udp.c | *addr_len=sizeof(*sin); |
addr_len | 541 | net/ipv4/udp.c | int udp_connect(struct sock *sk, struct sockaddr_in *usin, int addr_len) |
addr_len | 545 | net/ipv4/udp.c | if (addr_len < sizeof(*usin)) |
addr_len | 480 | net/ipx/af_ipx.c | int addr_len; |
addr_len | 518 | net/ipx/af_ipx.c | addr_len = dev->addr_len; |
addr_len | 520 | net/ipx/af_ipx.c | memcpy(dest_node, dev->broadcast, addr_len); |
addr_len | 522 | net/ipx/af_ipx.c | memcpy(dest_node, &(node[IPX_NODE_LEN-addr_len]), addr_len); |
addr_len | 757 | net/ipx/af_ipx.c | if(dev->addr_len>IPX_NODE_LEN) |
addr_len | 778 | net/ipx/af_ipx.c | memcpy((char *)&(intrfc->if_node[IPX_NODE_LEN-dev->addr_len]), dev->dev_addr, dev->addr_len); |
addr_len | 838 | net/ipx/af_ipx.c | if(dev->addr_len>IPX_NODE_LEN) return NULL; |
addr_len | 852 | net/ipx/af_ipx.c | memcpy((char *)&(intrfc->if_node[IPX_NODE_LEN-dev->addr_len]), |
addr_len | 853 | net/ipx/af_ipx.c | dev->dev_addr, dev->addr_len); |
addr_len | 1511 | net/ipx/af_ipx.c | static int ipx_bind(struct socket *sock, struct sockaddr *uaddr,int addr_len) |
addr_len | 1522 | net/ipx/af_ipx.c | if(addr_len!=sizeof(struct sockaddr_ipx)) |
addr_len | 1557 | net/ipx/af_ipx.c | int addr_len, int flags) |
addr_len | 1565 | net/ipx/af_ipx.c | if(addr_len!=sizeof(*addr)) |
addr_len | 1782 | net/ipx/af_ipx.c | int flags, int *addr_len) |
addr_len | 1803 | net/ipx/af_ipx.c | if(addr_len) |
addr_len | 1804 | 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 | 80 | net/netrom/nr_dev.c | memcpy(buff, (saddr != NULL) ? saddr : dev->dev_addr, dev->addr_len); |
addr_len | 87 | net/netrom/nr_dev.c | memcpy(buff, daddr, dev->addr_len); |
addr_len | 143 | net/netrom/nr_dev.c | memcpy(dev->dev_addr, addr, dev->addr_len); |
addr_len | 216 | net/netrom/nr_dev.c | dev->addr_len = AX25_ADDR_LEN; |
addr_len | 897 | net/socket.c | struct sockaddr *addr, int addr_len) |
addr_len | 917 | net/socket.c | if((err=move_addr_to_kernel(addr,addr_len,address))<0) |
addr_len | 923 | net/socket.c | msg.msg_namelen=addr_len; |
addr_len | 975 | net/socket.c | struct sockaddr *addr, int *addr_len) |
addr_len | 1009 | net/socket.c | if(addr!=NULL && (err=move_addr_to_user(address,alen, addr, addr_len))<0) |
addr_len | 1119 | net/socket.c | int addr_len; |
addr_len | 1140 | net/socket.c | len=sock->ops->recvmsg(sock, &msg_sys, total_len, (file->f_flags&O_NONBLOCK), flags, &addr_len); |
addr_len | 1146 | 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 | 402 | net/unix/af_unix.c | static int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) |
addr_len | 412 | net/unix/af_unix.c | if(addr_len>sizeof(struct sockaddr_un) || addr_len<3 || sunaddr->sun_family!=AF_UNIX) |
addr_len | 414 | net/unix/af_unix.c | unix_mkname(sunaddr, addr_len); |
addr_len | 421 | net/unix/af_unix.c | sk->protinfo.af_unix.name=kmalloc(addr_len+1, GFP_KERNEL); |
addr_len | 424 | net/unix/af_unix.c | memcpy(sk->protinfo.af_unix.name, sunaddr->sun_path, addr_len+1); |
addr_len | 437 | net/unix/af_unix.c | kfree_s(sk->protinfo.af_unix.name,addr_len+1); |
addr_len | 449 | net/unix/af_unix.c | static int unix_connect(struct socket *sock, struct sockaddr *uaddr, int addr_len, int flags) |
addr_len | 474 | net/unix/af_unix.c | if(addr_len < sizeof(sunaddr->sun_family)+1 || sunaddr->sun_family!=AF_UNIX) |
addr_len | 477 | net/unix/af_unix.c | unix_mkname(sunaddr, addr_len); |
addr_len | 513 | net/unix/af_unix.c | unix_mkname(sunaddr, addr_len); |
addr_len | 814 | 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 | 829 | net/unix/af_unix.c | if(addr_len) |
addr_len | 830 | net/unix/af_unix.c | *addr_len=0; |
addr_len | 871 | net/unix/af_unix.c | if(addr_len) |
addr_len | 872 | net/unix/af_unix.c | *addr_len=strlen(sunaddr->sun_path)+sizeof(short); |
addr_len | 875 | net/unix/af_unix.c | if(addr_len) |
addr_len | 876 | net/unix/af_unix.c | *addr_len=sizeof(short); |