tag | line | file | source code |
optval | 124 | include/linux/net.h | char *optval, int optlen); |
optval | 126 | include/linux/net.h | char *optval, int *optlen); |
optval | 148 | include/net/ip.h | extern int ip_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen); |
optval | 149 | include/net/ip.h | extern int ip_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen); |
optval | 305 | include/net/sock.h | char *optval, int optlen); |
optval | 307 | include/net/sock.h | char *optval, int *option); |
optval | 371 | include/net/sock.h | int op, char *optval, |
optval | 375 | include/net/sock.h | int op, char *optval, |
optval | 966 | net/appletalk/ddp.c | static int atalk_setsockopt(struct socket *sock, int level, int optname, char *optval, int optlen) |
optval | 973 | net/appletalk/ddp.c | if(optval==NULL) |
optval | 976 | net/appletalk/ddp.c | err=verify_area(VERIFY_READ,optval,sizeof(int)); |
optval | 979 | net/appletalk/ddp.c | opt=get_fs_long((unsigned long *)optval); |
optval | 992 | net/appletalk/ddp.c | return sock_setsockopt(sk,level,optname,optval,optlen); |
optval | 1005 | net/appletalk/ddp.c | char *optval, int *optlen) |
optval | 1025 | net/appletalk/ddp.c | return sock_getsockopt(sk,level,optname,optval,optlen); |
optval | 1034 | net/appletalk/ddp.c | err=verify_area(VERIFY_WRITE,optval,sizeof(int)); |
optval | 1035 | net/appletalk/ddp.c | put_user(val,optval); |
optval | 691 | net/ax25/af_ax25.c | char *optval, int optlen) |
optval | 699 | net/ax25/af_ax25.c | return sock_setsockopt(sk, level, optname, optval, optlen); |
optval | 704 | net/ax25/af_ax25.c | if (optval == NULL) |
optval | 707 | net/ax25/af_ax25.c | if ((err = verify_area(VERIFY_READ, optval, sizeof(int))) != 0) |
optval | 710 | net/ax25/af_ax25.c | opt = get_fs_long((unsigned long *)optval); |
optval | 766 | net/ax25/af_ax25.c | char *optval, int *optlen) |
optval | 775 | net/ax25/af_ax25.c | return sock_getsockopt(sk, level, optname, optval, optlen); |
optval | 822 | net/ax25/af_ax25.c | if ((err = verify_area(VERIFY_WRITE, optval, sizeof(int))) != 0) |
optval | 825 | net/ax25/af_ax25.c | put_user(val, optval); |
optval | 120 | net/core/sock.c | char *optval, int optlen) |
optval | 127 | net/core/sock.c | if (optval == NULL) |
optval | 130 | net/core/sock.c | err=verify_area(VERIFY_READ, optval, sizeof(int)); |
optval | 134 | net/core/sock.c | val = get_user((int *)optval); |
optval | 197 | net/core/sock.c | err=verify_area(VERIFY_READ,optval,sizeof(ling)); |
optval | 200 | net/core/sock.c | memcpy_fromfs(&ling,optval,sizeof(ling)); |
optval | 218 | net/core/sock.c | char *optval, int *optlen) |
optval | 276 | net/core/sock.c | err=verify_area(VERIFY_WRITE,optval,sizeof(ling)); |
optval | 285 | net/core/sock.c | memcpy_tofs(optval,&ling,sizeof(ling)); |
optval | 298 | net/core/sock.c | err=verify_area(VERIFY_WRITE, optval, sizeof(int)); |
optval | 301 | net/core/sock.c | put_fs_long(val,(unsigned long *)optval); |
optval | 457 | net/ipv4/af_inet.c | char *optval, int optlen) |
optval | 461 | net/ipv4/af_inet.c | return sock_setsockopt(sk,level,optname,optval,optlen); |
optval | 465 | net/ipv4/af_inet.c | return sk->prot->setsockopt(sk,level,optname,optval,optlen); |
optval | 473 | net/ipv4/af_inet.c | char *optval, int *optlen) |
optval | 477 | net/ipv4/af_inet.c | return sock_getsockopt(sk,level,optname,optval,optlen); |
optval | 481 | net/ipv4/af_inet.c | return sk->prot->getsockopt(sk,level,optname,optval,optlen); |
optval | 110 | net/ipv4/ip_sockglue.c | int ip_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen) |
optval | 117 | net/ipv4/ip_sockglue.c | if (optval == NULL) |
optval | 124 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ, optval, sizeof(int)); |
optval | 127 | net/ipv4/ip_sockglue.c | val = get_user((int *) optval); |
optval | 128 | net/ipv4/ip_sockglue.c | ucval=get_user((unsigned char *) optval); |
optval | 136 | net/ipv4/ip_sockglue.c | return ip_mroute_setsockopt(sk,optname,optval,optlen); |
optval | 148 | net/ipv4/ip_sockglue.c | err = verify_area(VERIFY_READ, optval, optlen); |
optval | 156 | net/ipv4/ip_sockglue.c | memcpy_fromfs(opt->__data, optval, optlen); |
optval | 220 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ, optval, sizeof(addr)); |
optval | 224 | net/ipv4/ip_sockglue.c | memcpy_fromfs(&addr,optval,sizeof(addr)); |
optval | 270 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ, optval, sizeof(mreq)); |
optval | 274 | net/ipv4/ip_sockglue.c | memcpy_fromfs(&mreq,optval,sizeof(mreq)); |
optval | 325 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ, optval, sizeof(mreq)); |
optval | 329 | net/ipv4/ip_sockglue.c | memcpy_fromfs(&mreq,optval,sizeof(mreq)); |
optval | 380 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ,optval,optlen); |
optval | 383 | net/ipv4/ip_sockglue.c | memcpy_fromfs(&tmp_fw,optval,optlen); |
optval | 397 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ,optval,optlen); |
optval | 400 | net/ipv4/ip_sockglue.c | memcpy_fromfs(&tmp_fw, optval,optlen); |
optval | 415 | net/ipv4/ip_sockglue.c | int ip_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen) |
optval | 428 | net/ipv4/ip_sockglue.c | return ip_mroute_getsockopt(sk,optname,optval,optlen); |
optval | 451 | net/ipv4/ip_sockglue.c | err = verify_area(VERIFY_WRITE, optval, opt->optlen); |
optval | 484 | net/ipv4/ip_sockglue.c | memcpy_tofs(optval, opt->__data, opt->optlen); |
optval | 508 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_WRITE, optval, len); |
optval | 512 | net/ipv4/ip_sockglue.c | memcpy_tofs((void *)optval,sk->ip_mc_name, len); |
optval | 523 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_WRITE, optval, sizeof(int)); |
optval | 526 | net/ipv4/ip_sockglue.c | put_user(val,(int *) optval); |
optval | 427 | net/ipv4/ipmr.c | int ip_mroute_setsockopt(struct sock *sk,int optname,char *optval,int optlen) |
optval | 446 | net/ipv4/ipmr.c | if((err=verify_area(VERIFY_READ,optval,sizeof(int)))<0) |
optval | 448 | net/ipv4/ipmr.c | if(get_user((int *)optval)!=1) |
optval | 463 | net/ipv4/ipmr.c | if((err=verify_area(VERIFY_READ, optval, sizeof(vif)))<0) |
optval | 465 | net/ipv4/ipmr.c | memcpy_fromfs(&vif,optval,sizeof(vif)); |
optval | 540 | net/ipv4/ipmr.c | err=verify_area(VERIFY_READ, optval, sizeof(mfc)); |
optval | 543 | net/ipv4/ipmr.c | memcpy_fromfs(&mfc,optval, sizeof(mfc)); |
optval | 551 | net/ipv4/ipmr.c | if((err=verify_area(VERIFY_READ, optval,sizeof(int)))<0) |
optval | 553 | net/ipv4/ipmr.c | mroute_do_pim= (optval)?1:0; |
optval | 568 | net/ipv4/ipmr.c | int ip_mroute_getsockopt(struct sock *sk,int optname,char *optval,int *optlen) |
optval | 581 | net/ipv4/ipmr.c | err=verify_area(VERIFY_WRITE, optval,sizeof(int)); |
optval | 586 | net/ipv4/ipmr.c | put_user(0x0305,(int *)optval); |
optval | 588 | net/ipv4/ipmr.c | put_user(mroute_do_pim,(int *)optval); |
optval | 5426 | net/ipv4/tcp.c | int tcp_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen) |
optval | 5431 | net/ipv4/tcp.c | return ip_setsockopt(sk,level,optname,optval,optlen); |
optval | 5433 | net/ipv4/tcp.c | if (optval == NULL) |
optval | 5436 | net/ipv4/tcp.c | err=verify_area(VERIFY_READ, optval, sizeof(int)); |
optval | 5440 | net/ipv4/tcp.c | val = get_user((int *)optval); |
optval | 5462 | net/ipv4/tcp.c | int tcp_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen) |
optval | 5467 | net/ipv4/tcp.c | return ip_getsockopt(sk,level,optname,optval,optlen); |
optval | 5485 | net/ipv4/tcp.c | err=verify_area(VERIFY_WRITE, optval, sizeof(int)); |
optval | 5488 | net/ipv4/tcp.c | put_user(val,(int *)optval); |
optval | 1326 | net/ipx/af_ipx.c | static int ipx_setsockopt(struct socket *sock, int level, int optname, char *optval, int optlen) |
optval | 1333 | net/ipx/af_ipx.c | if(optval==NULL) |
optval | 1336 | net/ipx/af_ipx.c | err=verify_area(VERIFY_READ,optval,sizeof(int)); |
optval | 1339 | net/ipx/af_ipx.c | opt=get_fs_long((unsigned long *)optval); |
optval | 1355 | net/ipx/af_ipx.c | return sock_setsockopt(sk,level,optname,optval,optlen); |
optval | 1363 | net/ipx/af_ipx.c | char *optval, int *optlen) |
optval | 1386 | net/ipx/af_ipx.c | return sock_getsockopt(sk,level,optname,optval,optlen); |
optval | 1395 | net/ipx/af_ipx.c | err=verify_area(VERIFY_WRITE,optval,sizeof(int)); |
optval | 1396 | net/ipx/af_ipx.c | put_fs_long(val,(unsigned long *)optval); |
optval | 295 | net/netrom/af_netrom.c | char *optval, int optlen) |
optval | 303 | net/netrom/af_netrom.c | return sock_setsockopt(sk, level, optname, optval, optlen); |
optval | 308 | net/netrom/af_netrom.c | if (optval == NULL) |
optval | 311 | net/netrom/af_netrom.c | if ((err = verify_area(VERIFY_READ, optval, sizeof(int))) != 0) |
optval | 314 | net/netrom/af_netrom.c | opt = get_fs_long((unsigned long *)optval); |
optval | 345 | net/netrom/af_netrom.c | char *optval, int *optlen) |
optval | 354 | net/netrom/af_netrom.c | return sock_getsockopt(sk, level, optname, optval, optlen); |
optval | 385 | net/netrom/af_netrom.c | if ((err = verify_area(VERIFY_WRITE, optval, sizeof(int))) != 0) |
optval | 388 | net/netrom/af_netrom.c | put_fs_long(val, (unsigned long *)optval); |
optval | 969 | net/socket.c | asmlinkage int sys_setsockopt(int fd, int level, int optname, char *optval, int optlen) |
optval | 979 | net/socket.c | return(sock->ops->setsockopt(sock, level, optname, optval, optlen)); |
optval | 987 | net/socket.c | asmlinkage int sys_getsockopt(int fd, int level, int optname, char *optval, int *optlen) |
optval | 999 | net/socket.c | return(sock->ops->getsockopt(sock, level, optname, optval, optlen)); |
optval | 206 | net/unix/af_unix.c | static int unix_setsockopt(struct socket *sock, int level, int optname, char *optval, int optlen) |
optval | 211 | net/unix/af_unix.c | return sock_setsockopt(sk,level,optname,optval,optlen); |
optval | 214 | net/unix/af_unix.c | static int unix_getsockopt(struct socket *sock, int level, int optname, char *optval, int *optlen) |
optval | 219 | net/unix/af_unix.c | return sock_getsockopt(sk,level,optname,optval,optlen); |