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 | 566 | drivers/net/dlci.c | dev->addr_len = sizeof(short); |
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 | 871 | 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 | 1180 | drivers/net/strip.c | dev->addr_len = sizeof(MetricomAddress); |
addr_len | 925 | drivers/net/wic.c | memcpy(eth->h_source, dev->dev_addr, dev->addr_len); |
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 | 288 | fs/nfs/nfsroot.c | if (rarp->ar_hln != dev->addr_len || dev->type != ntohs(rarp->ar_hrd)) { |
addr_len | 311 | fs/nfs/nfsroot.c | rarp_ptr += dev->addr_len; |
addr_len | 315 | fs/nfs/nfsroot.c | rarp_ptr += dev->addr_len; |
addr_len | 319 | fs/nfs/nfsroot.c | if (memcmp(tha, dev->dev_addr, dev->addr_len)) { |
addr_len | 689 | fs/nfs/nfsroot.c | xmit_bootp->hlen = best_dev->addr_len; |
addr_len | 690 | 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 | 344 | include/net/sock.h | struct sockaddr_in *usin, int addr_len); |
addr_len | 369 | include/net/sock.h | int noblock, int flags, int *addr_len); |
addr_len | 370 | 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 | 1240 | net/appletalk/ddp.c | static int atalk_bind(struct socket *sock, struct sockaddr *uaddr,int addr_len) |
addr_len | 1250 | net/appletalk/ddp.c | if(addr_len!=sizeof(struct sockaddr_at)) |
addr_len | 1295 | net/appletalk/ddp.c | int addr_len, int flags) |
addr_len | 1303 | net/appletalk/ddp.c | if(addr_len!=sizeof(*addr)) |
addr_len | 1813 | 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 | 1825 | net/appletalk/ddp.c | if(addr_len) |
addr_len | 1826 | net/appletalk/ddp.c | *addr_len=sizeof(*sat); |
addr_len | 1297 | net/ax25/af_ax25.c | static int ax25_bind(struct socket *sock, struct sockaddr *uaddr,int addr_len) |
addr_len | 1309 | net/ax25/af_ax25.c | if (addr_len != sizeof(struct sockaddr_ax25) && addr_len != sizeof(struct full_sockaddr_ax25)) |
addr_len | 1324 | net/ax25/af_ax25.c | if (addr_len == sizeof(struct full_sockaddr_ax25) && addr->fsa_ax25.sax25_ndigis == 1) { |
addr_len | 1360 | net/ax25/af_ax25.c | int addr_len, int flags) |
addr_len | 1382 | net/ax25/af_ax25.c | if (addr_len != sizeof(struct sockaddr_ax25) && addr_len != sizeof(struct full_sockaddr_ax25)) |
addr_len | 1388 | net/ax25/af_ax25.c | if (addr_len == sizeof(struct full_sockaddr_ax25) && addr->sax25_ndigis != 0) { |
addr_len | 1940 | net/ax25/af_ax25.c | int addr_len=msg->msg_namelen; |
addr_len | 1956 | net/ax25/af_ax25.c | if (addr_len != sizeof(struct sockaddr_ax25) && addr_len != sizeof(struct full_sockaddr_ax25)) |
addr_len | 1960 | net/ax25/af_ax25.c | if (addr_len == sizeof(struct full_sockaddr_ax25) && usax->sax25_ndigis != 0) { |
addr_len | 2066 | 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 | 2079 | net/ax25/af_ax25.c | if (addr_len != NULL) |
addr_len | 2080 | net/ax25/af_ax25.c | *addr_len = sizeof(*sax); |
addr_len | 2109 | net/ax25/af_ax25.c | if (addr_len == (int *)0) |
addr_len | 2111 | net/ax25/af_ax25.c | if (*addr_len != sizeof(struct sockaddr_ax25) && *addr_len != sizeof(struct full_sockaddr_ax25)) |
addr_len | 2123 | net/ax25/af_ax25.c | *addr_len = sizeof(struct sockaddr_ax25); |
addr_len | 2125 | net/ax25/af_ax25.c | if (*addr_len == sizeof(struct full_sockaddr_ax25) && sax->sax25_ndigis != 0) { |
addr_len | 2134 | net/ax25/af_ax25.c | *addr_len = sizeof(struct full_sockaddr_ax25); |
addr_len | 2495 | net/ax25/af_ax25.c | memcpy(buff, daddr, dev->addr_len); /* Address specified */ |
addr_len | 2503 | net/ax25/af_ax25.c | memcpy(buff, saddr, dev->addr_len); |
addr_len | 2505 | net/ax25/af_ax25.c | memcpy(buff, dev->dev_addr, dev->addr_len); |
addr_len | 1224 | net/core/dev.c | dev_mc_add(dev,ifr.ifr_hwaddr.sa_data, dev->addr_len, 1); |
addr_len | 1232 | 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 | 790 | net/ipv4/af_inet.c | int addr_len) |
addr_len | 802 | net/ipv4/af_inet.c | return sk->prot->bind(sk,uaddr, addr_len); |
addr_len | 807 | net/ipv4/af_inet.c | if(addr_len<sizeof(struct sockaddr_in)) |
addr_len | 930 | net/ipv4/af_inet.c | int addr_len, int flags) |
addr_len | 956 | net/ipv4/af_inet.c | err = sk->prot->connect(sk, (struct sockaddr_in *)uaddr, addr_len); |
addr_len | 1123 | net/ipv4/af_inet.c | int flags, int *addr_len ) |
addr_len | 1134 | 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 | 1053 | net/ipv4/arp.c | arp_ptr += dev->addr_len; |
addr_len | 1057 | net/ipv4/arp.c | arp_ptr += dev->addr_len; |
addr_len | 1140 | net/ipv4/arp.c | memcpy(ha, proxy_entry->ha, dev->addr_len); |
addr_len | 1195 | net/ipv4/arp.c | if(memcmp(entry->ha, sha,dev->addr_len)!=0) |
addr_len | 1197 | net/ipv4/arp.c | memcpy(entry->ha, sha, dev->addr_len); |
addr_len | 1248 | net/ipv4/arp.c | memcpy(entry->ha, sha, dev->addr_len); |
addr_len | 1341 | net/ipv4/arp.c | memcpy(haddr, entry->ha, dev->addr_len); |
addr_len | 1359 | net/ipv4/arp.c | memcpy(haddr, dev->dev_addr, dev->addr_len); |
addr_len | 1383 | net/ipv4/arp.c | memcpy(haddr, dev->broadcast, dev->addr_len); |
addr_len | 1463 | net/ipv4/arp.c | memcpy(haddr, entry->ha, dev->addr_len); |
addr_len | 1482 | net/ipv4/arp.c | memset(entry->ha, 0, dev->addr_len); |
addr_len | 1569 | net/ipv4/arp.c | for(k=0,j=0;k<HBUFFERLEN-3 && j<entry->dev->addr_len;j++) |
addr_len | 1720 | net/ipv4/arp.c | memset(entry->ha, 0, dev->addr_len); |
addr_len | 1980 | net/ipv4/arp.c | if ((r->arp_flags & ATF_COM) && empty(ha, dev->addr_len)) |
addr_len | 1982 | net/ipv4/arp.c | memcpy(entry->ha, ha, dev->addr_len); |
addr_len | 2033 | 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 | 1242 | net/ipv4/tcp.c | struct msghdr *msg, int len, int flags, int *addr_len) |
addr_len | 1282 | net/ipv4/tcp.c | if(addr_len) |
addr_len | 1283 | net/ipv4/tcp.c | *addr_len=sizeof(struct sockaddr_in); |
addr_len | 1345 | net/ipv4/tcp.c | int len, int nonblock, int flags, int *addr_len) |
addr_len | 1365 | net/ipv4/tcp.c | return tcp_recv_urg(sk, nonblock, msg, len, flags, addr_len); |
addr_len | 1575 | net/ipv4/tcp.c | if(addr_len) |
addr_len | 1576 | net/ipv4/tcp.c | *addr_len=sizeof(struct sockaddr_in); |
addr_len | 1862 | net/ipv4/tcp.c | static int tcp_connect(struct sock *sk, struct sockaddr_in *usin, int addr_len) |
addr_len | 1882 | 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 | 580 | net/ipx/af_ipx.c | int addr_len; |
addr_len | 663 | net/ipx/af_ipx.c | addr_len = dev->addr_len; |
addr_len | 665 | net/ipx/af_ipx.c | memcpy(dest_node, dev->broadcast, addr_len); |
addr_len | 667 | net/ipx/af_ipx.c | memcpy(dest_node, &(node[IPX_NODE_LEN-addr_len]), addr_len); |
addr_len | 908 | net/ipx/af_ipx.c | if(dev->addr_len>IPX_NODE_LEN) |
addr_len | 931 | net/ipx/af_ipx.c | memcpy((char *)&(intrfc->if_node[IPX_NODE_LEN-dev->addr_len]), |
addr_len | 932 | net/ipx/af_ipx.c | dev->dev_addr, dev->addr_len); |
addr_len | 995 | net/ipx/af_ipx.c | if(dev->addr_len>IPX_NODE_LEN) return NULL; |
addr_len | 1009 | net/ipx/af_ipx.c | memcpy((char *)&(intrfc->if_node[IPX_NODE_LEN-dev->addr_len]), |
addr_len | 1010 | net/ipx/af_ipx.c | dev->dev_addr, dev->addr_len); |
addr_len | 1762 | net/ipx/af_ipx.c | static int ipx_bind(struct socket *sock, struct sockaddr *uaddr,int addr_len) |
addr_len | 1773 | net/ipx/af_ipx.c | if(addr_len!=sizeof(struct sockaddr_ipx)) |
addr_len | 1863 | net/ipx/af_ipx.c | int addr_len, int flags) |
addr_len | 1871 | net/ipx/af_ipx.c | if(addr_len!=sizeof(*addr)) |
addr_len | 2116 | net/ipx/af_ipx.c | int flags, int *addr_len) |
addr_len | 2137 | net/ipx/af_ipx.c | if(addr_len) |
addr_len | 2138 | net/ipx/af_ipx.c | *addr_len=sizeof(*sipx); |
addr_len | 630 | net/netrom/af_netrom.c | static int nr_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) |
addr_len | 642 | net/netrom/af_netrom.c | if (addr_len != sizeof(struct sockaddr_ax25) && addr_len != sizeof(struct full_sockaddr_ax25)) |
addr_len | 684 | net/netrom/af_netrom.c | int addr_len, int flags) |
addr_len | 707 | net/netrom/af_netrom.c | if (addr_len != sizeof(struct sockaddr_ax25)) |
addr_len | 1081 | net/netrom/af_netrom.c | int flags, int *addr_len) |
addr_len | 1092 | net/netrom/af_netrom.c | if (addr_len != NULL) |
addr_len | 1093 | net/netrom/af_netrom.c | *addr_len = sizeof(*sax); |
addr_len | 1122 | 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 | 933 | net/socket.c | struct sockaddr *addr, int addr_len) |
addr_len | 953 | net/socket.c | if((err=move_addr_to_kernel(addr,addr_len,address))<0) |
addr_len | 959 | net/socket.c | msg.msg_namelen=addr_len; |
addr_len | 1011 | net/socket.c | struct sockaddr *addr, int *addr_len) |
addr_len | 1045 | net/socket.c | if(addr!=NULL && (err=move_addr_to_user(address,alen, addr, addr_len))<0) |
addr_len | 1161 | net/socket.c | int addr_len; |
addr_len | 1182 | net/socket.c | len=sock->ops->recvmsg(sock, &msg_sys, total_len, (file->f_flags&O_NONBLOCK), flags, &addr_len); |
addr_len | 1188 | 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 | 393 | net/unix/af_unix.c | static int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) |
addr_len | 403 | net/unix/af_unix.c | if(addr_len>sizeof(struct sockaddr_un) || addr_len<3 || sunaddr->sun_family!=AF_UNIX) |
addr_len | 405 | net/unix/af_unix.c | unix_mkname(sunaddr, addr_len); |
addr_len | 412 | net/unix/af_unix.c | sk->protinfo.af_unix.name=kmalloc(addr_len+1, GFP_KERNEL); |
addr_len | 415 | net/unix/af_unix.c | memcpy(sk->protinfo.af_unix.name, sunaddr->sun_path, addr_len+1); |
addr_len | 428 | net/unix/af_unix.c | kfree_s(sk->protinfo.af_unix.name,addr_len+1); |
addr_len | 440 | net/unix/af_unix.c | static int unix_connect(struct socket *sock, struct sockaddr *uaddr, int addr_len, int flags) |
addr_len | 469 | net/unix/af_unix.c | if(addr_len < sizeof(sunaddr->sun_family)+1 || sunaddr->sun_family!=AF_UNIX) |
addr_len | 472 | net/unix/af_unix.c | unix_mkname(sunaddr, addr_len); |
addr_len | 507 | net/unix/af_unix.c | unix_mkname(sunaddr, addr_len); |
addr_len | 1050 | 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 | 1066 | net/unix/af_unix.c | if(addr_len) |
addr_len | 1067 | net/unix/af_unix.c | *addr_len=0; |
addr_len | 1128 | net/unix/af_unix.c | if(addr_len) |
addr_len | 1129 | net/unix/af_unix.c | *addr_len=strlen(sunaddr->sun_path)+sizeof(short); |
addr_len | 1132 | net/unix/af_unix.c | if(addr_len) |
addr_len | 1133 | net/unix/af_unix.c | *addr_len=sizeof(short); |