tag | line | file | source code |
addr_len | 1057 | drivers/isdn/isdn_net.c | memcpy(eth->h_source,saddr,dev->addr_len); |
addr_len | 1059 | drivers/isdn/isdn_net.c | memcpy(eth->h_source,dev->dev_addr,dev->addr_len); |
addr_len | 1066 | drivers/isdn/isdn_net.c | memset(eth->h_dest, 0, dev->addr_len); |
addr_len | 1071 | drivers/isdn/isdn_net.c | memcpy(eth->h_dest,daddr,dev->addr_len); |
addr_len | 1157 | drivers/isdn/isdn_net.c | memcpy(eth->h_source, dev->dev_addr, dev->addr_len); |
addr_len | 1202 | drivers/isdn/isdn_net.c | ndev->addr_len = ETH_ALEN; |
addr_len | 1276 | drivers/net/arcnet.c | dev->addr_len = 1; |
addr_len | 125 | 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 | 368 | drivers/net/new_tunnel.c | dev->addr_len = 0; /* Is this only for ARP? */ |
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 | 402 | 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 | 1098 | drivers/net/slip.c | sl->dev->addr_len=AX25_ADDR_LEN; /* sizeof an AX.25 addr */ |
addr_len | 1101 | drivers/net/slip.c | sl->dev->addr_len=0; /* No mac addr in slip mode */ |
addr_len | 1295 | drivers/net/slip.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 | 240 | fs/ncpfs/sock.c | int addr_len = sizeof(struct sockaddr_ipx); |
addr_len | 248 | fs/ncpfs/sock.c | &sender, &addr_len); |
addr_len | 273 | fs/nfs/nfsroot.c | if (rarp->ar_hln != dev->addr_len || dev->type != ntohs(rarp->ar_hrd)) { |
addr_len | 296 | fs/nfs/nfsroot.c | rarp_ptr += dev->addr_len; |
addr_len | 300 | fs/nfs/nfsroot.c | rarp_ptr += dev->addr_len; |
addr_len | 304 | fs/nfs/nfsroot.c | if (memcmp(tha, dev->dev_addr, dev->addr_len)) { |
addr_len | 665 | fs/nfs/nfsroot.c | xmit_bootp->hlen = best_dev->addr_len; |
addr_len | 666 | fs/nfs/nfsroot.c | memcpy(xmit_bootp->hw_addr, best_dev->dev_addr, best_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 | 119 | include/linux/net.h | int (*recvmsg) (struct socket *sock, struct msghdr *m, int total_len, int nonblock, int flags, int *addr_len); |
addr_len | 143 | 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 | 343 | include/net/sock.h | struct sockaddr_in *usin, int addr_len); |
addr_len | 368 | include/net/sock.h | int noblock, int flags, int *addr_len); |
addr_len | 369 | 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 | 1260 | net/appletalk/ddp.c | static int atalk_bind(struct socket *sock, struct sockaddr *uaddr,int addr_len) |
addr_len | 1270 | net/appletalk/ddp.c | if(addr_len!=sizeof(struct sockaddr_at)) |
addr_len | 1315 | net/appletalk/ddp.c | int addr_len, int flags) |
addr_len | 1323 | net/appletalk/ddp.c | if(addr_len!=sizeof(*addr)) |
addr_len | 1833 | 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 | 1845 | net/appletalk/ddp.c | if(addr_len) |
addr_len | 1846 | net/appletalk/ddp.c | *addr_len=sizeof(*sat); |
addr_len | 1304 | net/ax25/af_ax25.c | static int ax25_bind(struct socket *sock, struct sockaddr *uaddr,int addr_len) |
addr_len | 1316 | net/ax25/af_ax25.c | if (addr_len != sizeof(struct sockaddr_ax25) && addr_len != sizeof(struct full_sockaddr_ax25)) |
addr_len | 1331 | net/ax25/af_ax25.c | if (addr_len == sizeof(struct full_sockaddr_ax25) && addr->fsa_ax25.sax25_ndigis == 1) { |
addr_len | 1367 | net/ax25/af_ax25.c | int addr_len, int flags) |
addr_len | 1389 | net/ax25/af_ax25.c | if (addr_len != sizeof(struct sockaddr_ax25) && addr_len != sizeof(struct full_sockaddr_ax25)) |
addr_len | 1395 | net/ax25/af_ax25.c | if (addr_len == sizeof(struct full_sockaddr_ax25) && addr->sax25_ndigis != 0) { |
addr_len | 1947 | net/ax25/af_ax25.c | int addr_len=msg->msg_namelen; |
addr_len | 1963 | net/ax25/af_ax25.c | if (addr_len != sizeof(struct sockaddr_ax25) && addr_len != sizeof(struct full_sockaddr_ax25)) |
addr_len | 1967 | net/ax25/af_ax25.c | if (addr_len == sizeof(struct full_sockaddr_ax25) && usax->sax25_ndigis != 0) { |
addr_len | 2073 | 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 | 2086 | net/ax25/af_ax25.c | if (addr_len != NULL) |
addr_len | 2087 | net/ax25/af_ax25.c | *addr_len = sizeof(*sax); |
addr_len | 2116 | net/ax25/af_ax25.c | if (addr_len == (int *)0) |
addr_len | 2118 | net/ax25/af_ax25.c | if (*addr_len != sizeof(struct sockaddr_ax25) && *addr_len != sizeof(struct full_sockaddr_ax25)) |
addr_len | 2130 | net/ax25/af_ax25.c | *addr_len = sizeof(struct sockaddr_ax25); |
addr_len | 2132 | net/ax25/af_ax25.c | if (*addr_len == sizeof(struct full_sockaddr_ax25) && sax->sax25_ndigis != 0) { |
addr_len | 2141 | net/ax25/af_ax25.c | *addr_len = sizeof(struct full_sockaddr_ax25); |
addr_len | 2522 | net/ax25/af_ax25.c | memcpy(buff, daddr, dev->addr_len); /* Address specified */ |
addr_len | 2530 | net/ax25/af_ax25.c | memcpy(buff, saddr, dev->addr_len); |
addr_len | 2532 | net/ax25/af_ax25.c | memcpy(buff, dev->dev_addr, dev->addr_len); |
addr_len | 1195 | net/core/dev.c | dev_mc_add(dev,ifr.ifr_hwaddr.sa_data, dev->addr_len, 1); |
addr_len | 1203 | net/core/dev.c | dev_mc_delete(dev,ifr.ifr_hwaddr.sa_data,dev->addr_len, 1); |
addr_len | 270 | net/core/net_alias.c | dev->addr_len = main_dev->addr_len; |
addr_len | 110 | net/ethernet/eth.c | memcpy(eth->h_source,saddr,dev->addr_len); |
addr_len | 112 | net/ethernet/eth.c | memcpy(eth->h_source,dev->dev_addr,dev->addr_len); |
addr_len | 120 | net/ethernet/eth.c | memset(eth->h_dest, 0, dev->addr_len); |
addr_len | 126 | net/ethernet/eth.c | memcpy(eth->h_dest,daddr,dev->addr_len); |
addr_len | 152 | net/ethernet/eth.c | memcpy(eth->h_source, dev->dev_addr, dev->addr_len); |
addr_len | 783 | net/ipv4/af_inet.c | int addr_len) |
addr_len | 795 | net/ipv4/af_inet.c | return sk->prot->bind(sk,uaddr, addr_len); |
addr_len | 800 | net/ipv4/af_inet.c | if(addr_len<sizeof(struct sockaddr_in)) |
addr_len | 923 | net/ipv4/af_inet.c | int addr_len, int flags) |
addr_len | 949 | net/ipv4/af_inet.c | err = sk->prot->connect(sk, (struct sockaddr_in *)uaddr, addr_len); |
addr_len | 1116 | net/ipv4/af_inet.c | int flags, int *addr_len ) |
addr_len | 1127 | net/ipv4/af_inet.c | return(sk->prot->recvmsg(sk, ubuf, size, noblock, flags,addr_len)); |
addr_len | 833 | net/ipv4/arp.c | skb = alloc_skb(sizeof(struct arphdr)+ 2*(dev->addr_len+4) |
addr_len | 841 | net/ipv4/arp.c | arp = (struct arphdr *) skb_put(skb,sizeof(struct arphdr) + 2*(dev->addr_len+4)); |
addr_len | 864 | net/ipv4/arp.c | arp->ar_hln = dev->addr_len; |
addr_len | 870 | net/ipv4/arp.c | memcpy(arp_ptr, src_hw, dev->addr_len); |
addr_len | 871 | net/ipv4/arp.c | arp_ptr+=dev->addr_len; |
addr_len | 875 | net/ipv4/arp.c | memcpy(arp_ptr, target_hw, dev->addr_len); |
addr_len | 877 | net/ipv4/arp.c | memset(arp_ptr, 0, dev->addr_len); |
addr_len | 878 | net/ipv4/arp.c | arp_ptr+=dev->addr_len; |
addr_len | 985 | net/ipv4/arp.c | if (arp->ar_hln != dev->addr_len || |
addr_len | 1052 | net/ipv4/arp.c | arp_ptr += dev->addr_len; |
addr_len | 1056 | net/ipv4/arp.c | arp_ptr += dev->addr_len; |
addr_len | 1146 | net/ipv4/arp.c | memcpy(ha, proxy_entry->ha, dev->addr_len); |
addr_len | 1202 | net/ipv4/arp.c | memcpy(entry->ha, sha, dev->addr_len); |
addr_len | 1250 | net/ipv4/arp.c | memcpy(entry->ha, sha, dev->addr_len); |
addr_len | 1343 | net/ipv4/arp.c | memcpy(haddr, entry->ha, dev->addr_len); |
addr_len | 1361 | net/ipv4/arp.c | memcpy(haddr, dev->dev_addr, dev->addr_len); |
addr_len | 1385 | net/ipv4/arp.c | memcpy(haddr, dev->broadcast, dev->addr_len); |
addr_len | 1465 | net/ipv4/arp.c | memcpy(haddr, entry->ha, dev->addr_len); |
addr_len | 1484 | net/ipv4/arp.c | memset(entry->ha, 0, dev->addr_len); |
addr_len | 1571 | net/ipv4/arp.c | for(k=0,j=0;k<HBUFFERLEN-3 && j<entry->dev->addr_len;j++) |
addr_len | 1722 | net/ipv4/arp.c | memset(entry->ha, 0, dev->addr_len); |
addr_len | 1982 | net/ipv4/arp.c | if ((r->arp_flags & ATF_COM) && empty(ha, dev->addr_len)) |
addr_len | 1984 | net/ipv4/arp.c | memcpy(entry->ha, ha, dev->addr_len); |
addr_len | 2035 | net/ipv4/arp.c | memcpy(r->arp_ha.sa_data, &entry->ha, entry->dev->addr_len); |
addr_len | 280 | net/ipv4/packet.c | static int packet_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len) |
addr_len | 289 | net/ipv4/packet.c | if(addr_len!=sizeof(struct sockaddr)) |
addr_len | 401 | net/ipv4/packet.c | int noblock, int flags,int *addr_len) |
addr_len | 423 | net/ipv4/packet.c | if (addr_len) |
addr_len | 424 | net/ipv4/packet.c | *addr_len=sizeof(*saddr); |
addr_len | 209 | net/ipv4/rarp.c | if (rarp->ar_hln != dev->addr_len || dev->type != ntohs(rarp->ar_hrd) |
addr_len | 248 | net/ipv4/rarp.c | rarp_ptr+=dev->addr_len; |
addr_len | 252 | 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 | 315 | net/ipv4/raw.c | int noblock, int flags,int *addr_len) |
addr_len | 328 | net/ipv4/raw.c | if (addr_len) |
addr_len | 329 | net/ipv4/raw.c | *addr_len=sizeof(*sin); |
addr_len | 1290 | net/ipv4/tcp.c | struct msghdr *msg, int len, int flags, int *addr_len) |
addr_len | 1330 | net/ipv4/tcp.c | if(addr_len) |
addr_len | 1331 | net/ipv4/tcp.c | *addr_len=sizeof(struct sockaddr_in); |
addr_len | 1394 | net/ipv4/tcp.c | int len, int nonblock, int flags, int *addr_len) |
addr_len | 1414 | net/ipv4/tcp.c | return tcp_recv_urg(sk, nonblock, msg, len, flags, addr_len); |
addr_len | 1619 | net/ipv4/tcp.c | if(addr_len) |
addr_len | 1620 | net/ipv4/tcp.c | *addr_len=sizeof(struct sockaddr_in); |
addr_len | 1906 | net/ipv4/tcp.c | static int tcp_connect(struct sock *sk, struct sockaddr_in *usin, int addr_len) |
addr_len | 1926 | 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 | 546 | net/ipv4/udp.c | int udp_connect(struct sock *sk, struct sockaddr_in *usin, int addr_len) |
addr_len | 549 | net/ipv4/udp.c | if (addr_len < sizeof(*usin)) |
addr_len | 577 | net/ipx/af_ipx.c | int addr_len; |
addr_len | 660 | net/ipx/af_ipx.c | addr_len = dev->addr_len; |
addr_len | 662 | net/ipx/af_ipx.c | memcpy(dest_node, dev->broadcast, addr_len); |
addr_len | 664 | net/ipx/af_ipx.c | memcpy(dest_node, &(node[IPX_NODE_LEN-addr_len]), addr_len); |
addr_len | 900 | net/ipx/af_ipx.c | if(dev->addr_len>IPX_NODE_LEN) |
addr_len | 921 | net/ipx/af_ipx.c | memcpy((char *)&(intrfc->if_node[IPX_NODE_LEN-dev->addr_len]), dev->dev_addr, dev->addr_len); |
addr_len | 981 | net/ipx/af_ipx.c | if(dev->addr_len>IPX_NODE_LEN) return NULL; |
addr_len | 995 | net/ipx/af_ipx.c | memcpy((char *)&(intrfc->if_node[IPX_NODE_LEN-dev->addr_len]), |
addr_len | 996 | net/ipx/af_ipx.c | dev->dev_addr, dev->addr_len); |
addr_len | 1696 | net/ipx/af_ipx.c | static int ipx_bind(struct socket *sock, struct sockaddr *uaddr,int addr_len) |
addr_len | 1707 | net/ipx/af_ipx.c | if(addr_len!=sizeof(struct sockaddr_ipx)) |
addr_len | 1797 | net/ipx/af_ipx.c | int addr_len, int flags) |
addr_len | 1805 | net/ipx/af_ipx.c | if(addr_len!=sizeof(*addr)) |
addr_len | 2044 | net/ipx/af_ipx.c | int flags, int *addr_len) |
addr_len | 2065 | net/ipx/af_ipx.c | if(addr_len) |
addr_len | 2066 | net/ipx/af_ipx.c | *addr_len=sizeof(*sipx); |
addr_len | 657 | net/netrom/af_netrom.c | static int nr_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) |
addr_len | 669 | net/netrom/af_netrom.c | if (addr_len != sizeof(struct sockaddr_ax25) && addr_len != sizeof(struct full_sockaddr_ax25)) |
addr_len | 711 | net/netrom/af_netrom.c | int addr_len, int flags) |
addr_len | 734 | net/netrom/af_netrom.c | if (addr_len != sizeof(struct sockaddr_ax25)) |
addr_len | 1108 | net/netrom/af_netrom.c | int flags, int *addr_len) |
addr_len | 1119 | net/netrom/af_netrom.c | if (addr_len != NULL) |
addr_len | 1120 | net/netrom/af_netrom.c | *addr_len = sizeof(*sax); |
addr_len | 1149 | 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 | 144 | net/netrom/nr_dev.c | memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); |
addr_len | 217 | net/netrom/nr_dev.c | dev->addr_len = AX25_ADDR_LEN; |
addr_len | 929 | net/socket.c | struct sockaddr *addr, int addr_len) |
addr_len | 949 | net/socket.c | if((err=move_addr_to_kernel(addr,addr_len,address))<0) |
addr_len | 955 | net/socket.c | msg.msg_namelen=addr_len; |
addr_len | 1007 | net/socket.c | struct sockaddr *addr, int *addr_len) |
addr_len | 1041 | net/socket.c | if(addr!=NULL && (err=move_addr_to_user(address,alen, addr, addr_len))<0) |
addr_len | 1157 | net/socket.c | int addr_len; |
addr_len | 1178 | net/socket.c | len=sock->ops->recvmsg(sock, &msg_sys, total_len, (file->f_flags&O_NONBLOCK), flags, &addr_len); |
addr_len | 1184 | 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 | 411 | net/unix/af_unix.c | static int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) |
addr_len | 421 | net/unix/af_unix.c | if(addr_len>sizeof(struct sockaddr_un) || addr_len<3 || sunaddr->sun_family!=AF_UNIX) |
addr_len | 423 | net/unix/af_unix.c | unix_mkname(sunaddr, addr_len); |
addr_len | 430 | net/unix/af_unix.c | sk->protinfo.af_unix.name=kmalloc(addr_len+1, GFP_KERNEL); |
addr_len | 433 | net/unix/af_unix.c | memcpy(sk->protinfo.af_unix.name, sunaddr->sun_path, addr_len+1); |
addr_len | 446 | net/unix/af_unix.c | kfree_s(sk->protinfo.af_unix.name,addr_len+1); |
addr_len | 458 | net/unix/af_unix.c | static int unix_connect(struct socket *sock, struct sockaddr *uaddr, int addr_len, int flags) |
addr_len | 487 | net/unix/af_unix.c | if(addr_len < sizeof(sunaddr->sun_family)+1 || sunaddr->sun_family!=AF_UNIX) |
addr_len | 490 | net/unix/af_unix.c | unix_mkname(sunaddr, addr_len); |
addr_len | 525 | net/unix/af_unix.c | unix_mkname(sunaddr, addr_len); |
addr_len | 1068 | 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 | 1084 | net/unix/af_unix.c | if(addr_len) |
addr_len | 1085 | net/unix/af_unix.c | *addr_len=0; |
addr_len | 1146 | net/unix/af_unix.c | if(addr_len) |
addr_len | 1147 | net/unix/af_unix.c | *addr_len=strlen(sunaddr->sun_path)+sizeof(short); |
addr_len | 1150 | net/unix/af_unix.c | if(addr_len) |
addr_len | 1151 | net/unix/af_unix.c | *addr_len=sizeof(short); |