tag | line | file | source code |
addr_len | 113 | drivers/net/loopback.c | dev->addr_len = ETH_ALEN; /* 6 */ |
addr_len | 120 | drivers/net/loopback.c | dev->addr_len = 0; |
addr_len | 156 | drivers/net/net_init.c | dev->addr_len = ETH_ALEN; |
addr_len | 222 | drivers/net/plip.c | dev->addr_len = ETH_ALEN; |
addr_len | 223 | drivers/net/plip.c | for (i = 0; i < dev->addr_len; i++) { |
addr_len | 275 | drivers/net/ppp.c | dev->addr_len = 0; |
addr_len | 989 | drivers/net/slip.c | sl->dev->addr_len=7; /* sizeof an AX.25 addr */ |
addr_len | 994 | drivers/net/slip.c | sl->dev->addr_len=0; /* No mac addr in slip mode */ |
addr_len | 1081 | drivers/net/slip.c | dev->addr_len = 0; |
addr_len | 113 | include/linux/net.h | unsigned flags, struct sockaddr *, int addr_len); |
addr_len | 115 | include/linux/net.h | unsigned flags, struct sockaddr *, int *addr_len); |
addr_len | 103 | include/linux/netdevice.h | unsigned char addr_len; /* harfware address length */ |
addr_len | 729 | net/inet/af_inet.c | int addr_len) |
addr_len | 743 | net/inet/af_inet.c | err=verify_area(VERIFY_READ, uaddr, addr_len); |
addr_len | 746 | net/inet/af_inet.c | memcpy_fromfs(&addr, uaddr, min(sizeof(addr), addr_len)); |
addr_len | 830 | net/inet/af_inet.c | int addr_len, int flags) |
addr_len | 853 | net/inet/af_inet.c | err = sk->prot->connect(sk, (struct sockaddr_in *)uaddr, addr_len); |
addr_len | 1096 | net/inet/af_inet.c | unsigned flags, struct sockaddr *sin, int addr_len) |
addr_len | 1122 | net/inet/af_inet.c | (struct sockaddr_in *)sin, addr_len)); |
addr_len | 1127 | net/inet/af_inet.c | unsigned flags, struct sockaddr *sin, int *addr_len ) |
addr_len | 1148 | net/inet/af_inet.c | (struct sockaddr_in*)sin, addr_len)); |
addr_len | 270 | net/inet/arp.c | skb = alloc_skb(sizeof(struct arphdr)+ 2*(dev->addr_len+4) |
addr_len | 277 | net/inet/arp.c | skb->len = sizeof(struct arphdr) + dev->hard_header_len + 2*(dev->addr_len+4); |
addr_len | 296 | net/inet/arp.c | arp->ar_hln = dev->addr_len; |
addr_len | 302 | net/inet/arp.c | memcpy(arp_ptr, src_hw, dev->addr_len); |
addr_len | 303 | net/inet/arp.c | arp_ptr+=dev->addr_len; |
addr_len | 307 | net/inet/arp.c | memcpy(arp_ptr, dest_hw, dev->addr_len); |
addr_len | 309 | net/inet/arp.c | memset(arp_ptr, 0, dev->addr_len); |
addr_len | 310 | net/inet/arp.c | arp_ptr+=dev->addr_len; |
addr_len | 490 | net/inet/arp.c | if (arp->ar_hln != dev->addr_len || |
addr_len | 534 | net/inet/arp.c | hlen = dev->addr_len; |
addr_len | 730 | net/inet/arp.c | memcpy(haddr, dev->dev_addr, dev->addr_len); |
addr_len | 734 | net/inet/arp.c | memcpy(haddr, dev->broadcast, dev->addr_len); |
addr_len | 770 | net/inet/arp.c | memcpy(haddr, entry->ha, dev->addr_len); |
addr_len | 786 | net/inet/arp.c | entry->hlen = dev->addr_len; |
addr_len | 789 | net/inet/arp.c | memset(entry->ha, 0, dev->addr_len); |
addr_len | 103 | net/inet/eth.c | memcpy(eth->h_source,saddr,dev->addr_len); |
addr_len | 105 | net/inet/eth.c | memcpy(eth->h_source,dev->dev_addr,dev->addr_len); |
addr_len | 113 | net/inet/eth.c | memset(eth->h_dest, 0, dev->addr_len); |
addr_len | 119 | net/inet/eth.c | memcpy(eth->h_dest,daddr,dev->addr_len); |
addr_len | 145 | net/inet/eth.c | memcpy(eth->h_source, dev->dev_addr, dev->addr_len); |
addr_len | 329 | net/inet/ipx.c | if(dev->addr_len>6) |
addr_len | 331 | net/inet/ipx.c | if(dev->addr_len<2) |
addr_len | 676 | net/inet/ipx.c | static int ipx_bind(struct socket *sock, struct sockaddr *uaddr,int addr_len) |
addr_len | 694 | net/inet/ipx.c | err=verify_area(VERIFY_READ,uaddr,addr_len); |
addr_len | 697 | net/inet/ipx.c | if(addr_len!=sizeof(addr)) |
addr_len | 699 | net/inet/ipx.c | memcpy_fromfs(&addr,uaddr,addr_len); |
addr_len | 740 | net/inet/ipx.c | nodestart = sk->ipx_source_addr.node + (6 - rt->dev->addr_len); |
addr_len | 741 | net/inet/ipx.c | memcpy(nodestart,rt->dev->dev_addr,rt->dev->addr_len); |
addr_len | 751 | net/inet/ipx.c | int addr_len, int flags) |
addr_len | 766 | net/inet/ipx.c | if(addr_len!=sizeof(addr)) |
addr_len | 768 | net/inet/ipx.c | err=verify_area(VERIFY_READ,uaddr,addr_len); |
addr_len | 884 | net/inet/ipx.c | memcpy(IPXaddr+(6 - dev->addr_len), dev->dev_addr, dev->addr_len); |
addr_len | 1001 | net/inet/ipx.c | unsigned flags, struct sockaddr *usip, int addr_len) |
addr_len | 1026 | net/inet/ipx.c | if(addr_len <sizeof(sipx)) |
addr_len | 1114 | net/inet/ipx.c | memcpy(IPXaddr+(6 - skb->dev->addr_len), skb->dev->dev_addr, |
addr_len | 1115 | net/inet/ipx.c | skb->dev->addr_len); |
addr_len | 1179 | net/inet/ipx.c | unsigned flags, struct sockaddr *sip, int *addr_len) |
addr_len | 1200 | net/inet/ipx.c | if(addr_len) |
addr_len | 1202 | net/inet/ipx.c | er=verify_area(VERIFY_WRITE,addr_len,sizeof(*addr_len)); |
addr_len | 1205 | net/inet/ipx.c | put_fs_long(sizeof(*sipx),addr_len); |
addr_len | 123 | net/inet/packet.c | int addr_len) |
addr_len | 145 | net/inet/packet.c | if (addr_len < sizeof(saddr)) |
addr_len | 286 | net/inet/packet.c | int *addr_len) |
addr_len | 307 | net/inet/packet.c | if (addr_len) |
addr_len | 309 | net/inet/packet.c | err=verify_area(VERIFY_WRITE, addr_len, sizeof(*addr_len)); |
addr_len | 312 | net/inet/packet.c | put_fs_long(sizeof(*saddr), addr_len); |
addr_len | 179 | net/inet/rarp.c | if (rarp->ar_hln != dev->addr_len || dev->type != ntohs(rarp->ar_hrd) |
addr_len | 218 | net/inet/rarp.c | rarp_ptr+=dev->addr_len; |
addr_len | 222 | net/inet/rarp.c | rarp_ptr+=dev->addr_len; |
addr_len | 141 | net/inet/raw.c | int len, int noblock, unsigned flags, struct sockaddr_in *usin, int addr_len) |
addr_len | 161 | net/inet/raw.c | if (addr_len < sizeof(sin)) |
addr_len | 312 | net/inet/raw.c | int *addr_len) |
addr_len | 322 | net/inet/raw.c | if (addr_len) { |
addr_len | 323 | net/inet/raw.c | err=verify_area(VERIFY_WRITE, addr_len, sizeof(*addr_len)); |
addr_len | 326 | net/inet/raw.c | put_fs_long(sizeof(*sin), addr_len); |
addr_len | 32 | net/inet/raw.h | struct sockaddr_in *sin, int *addr_len); |
addr_len | 197 | net/inet/sock.h | int addr_len); |
addr_len | 201 | net/inet/sock.h | int *addr_len); |
addr_len | 208 | net/inet/sock.h | struct sockaddr_in *usin, int addr_len); |
addr_len | 1093 | net/inet/tcp.c | struct sockaddr_in *addr, int addr_len) |
addr_len | 1099 | net/inet/tcp.c | if (addr_len < sizeof(sin)) |
addr_len | 1607 | net/inet/tcp.c | struct sockaddr_in *addr, int *addr_len) |
addr_len | 1617 | net/inet/tcp.c | err = verify_area(VERIFY_WRITE,addr_len,sizeof(long)); |
addr_len | 1620 | net/inet/tcp.c | len = get_fs_long(addr_len); |
addr_len | 1636 | net/inet/tcp.c | put_fs_long(len, addr_len); |
addr_len | 3113 | net/inet/tcp.c | static int tcp_connect(struct sock *sk, struct sockaddr_in *usin, int addr_len) |
addr_len | 3126 | net/inet/tcp.c | if (addr_len < 8) |
addr_len | 3129 | net/inet/tcp.c | err=verify_area(VERIFY_READ, usin, addr_len); |
addr_len | 3133 | net/inet/tcp.c | memcpy_fromfs(&sin,usin, min(sizeof(sin), addr_len)); |
addr_len | 331 | net/inet/udp.c | unsigned flags, struct sockaddr_in *usin, int addr_len) |
addr_len | 348 | net/inet/udp.c | if (addr_len < sizeof(sin)) |
addr_len | 461 | net/inet/udp.c | int *addr_len) |
addr_len | 471 | net/inet/udp.c | if (addr_len) |
addr_len | 473 | net/inet/udp.c | er=verify_area(VERIFY_WRITE, addr_len, sizeof(*addr_len)); |
addr_len | 476 | net/inet/udp.c | put_fs_long(sizeof(*sin), addr_len); |
addr_len | 532 | net/inet/udp.c | udp_connect(struct sock *sk, struct sockaddr_in *usin, int addr_len) |
addr_len | 537 | net/inet/udp.c | if (addr_len < sizeof(sin)) |
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 | 658 | net/socket.c | struct sockaddr *addr, int addr_len) |
addr_len | 668 | net/socket.c | flags, addr, addr_len)); |
addr_len | 688 | net/socket.c | struct sockaddr *addr, int *addr_len) |
addr_len | 698 | net/socket.c | flags, addr, addr_len)); |
addr_len | 82 | net/unix/sock.c | struct sockaddr *addr, int addr_len); |
addr_len | 85 | net/unix/sock.c | struct sockaddr *addr, int *addr_len); |
addr_len | 152 | net/unix/sock.c | unsigned flags, struct sockaddr *addr, int addr_len) |
addr_len | 159 | net/unix/sock.c | unsigned flags, struct sockaddr *addr, int *addr_len) |