tag | line | file | source code |
optval | 110 | include/linux/net.h | char *optval, int optlen); |
optval | 112 | include/linux/net.h | char *optval, int *optlen); |
optval | 151 | include/net/ip.h | extern int ip_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen); |
optval | 152 | include/net/ip.h | extern int ip_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen); |
optval | 363 | include/net/sock.h | char *optval, int optlen); |
optval | 365 | include/net/sock.h | char *optval, int *option); |
optval | 474 | include/net/sock.h | int op, char *optval, |
optval | 478 | include/net/sock.h | int op, char *optval, |
optval | 1017 | net/appletalk/ddp.c | static int atalk_setsockopt(struct socket *sock, int level, int optname, char *optval, int optlen) |
optval | 1024 | net/appletalk/ddp.c | if(optval==NULL) |
optval | 1027 | net/appletalk/ddp.c | err=verify_area(VERIFY_READ,optval,sizeof(int)); |
optval | 1030 | net/appletalk/ddp.c | opt=get_fs_long((unsigned long *)optval); |
optval | 1043 | net/appletalk/ddp.c | return sock_setsockopt(sk,level,optname,optval,optlen); |
optval | 1056 | net/appletalk/ddp.c | char *optval, int *optlen) |
optval | 1076 | net/appletalk/ddp.c | return sock_getsockopt(sk,level,optname,optval,optlen); |
optval | 1085 | net/appletalk/ddp.c | err=verify_area(VERIFY_WRITE,optval,sizeof(int)); |
optval | 1088 | net/appletalk/ddp.c | put_user(val,optval); |
optval | 877 | net/ax25/af_ax25.c | char *optval, int optlen) |
optval | 885 | net/ax25/af_ax25.c | return sock_setsockopt(sk, level, optname, optval, optlen); |
optval | 890 | net/ax25/af_ax25.c | if (optval == NULL) |
optval | 893 | net/ax25/af_ax25.c | if ((err = verify_area(VERIFY_READ, optval, sizeof(int))) != 0) |
optval | 896 | net/ax25/af_ax25.c | opt = get_fs_long((unsigned long *)optval); |
optval | 964 | net/ax25/af_ax25.c | char *optval, int *optlen) |
optval | 973 | net/ax25/af_ax25.c | return sock_getsockopt(sk, level, optname, optval, optlen); |
optval | 1028 | net/ax25/af_ax25.c | if ((err = verify_area(VERIFY_WRITE, optval, sizeof(int))) != 0) |
optval | 1031 | net/ax25/af_ax25.c | put_user(val, optval); |
optval | 124 | net/core/sock.c | char *optval, int optlen) |
optval | 144 | net/core/sock.c | if (optval == NULL) |
optval | 147 | net/core/sock.c | err=verify_area(VERIFY_READ, optval, sizeof(int)); |
optval | 151 | net/core/sock.c | val = get_user((int *)optval); |
optval | 214 | net/core/sock.c | err=verify_area(VERIFY_READ,optval,sizeof(ling)); |
optval | 217 | net/core/sock.c | memcpy_fromfs(&ling,optval,sizeof(ling)); |
optval | 238 | net/core/sock.c | char *optval, int *optlen) |
optval | 297 | net/core/sock.c | err=verify_area(VERIFY_WRITE,optval,sizeof(ling)); |
optval | 306 | net/core/sock.c | memcpy_tofs(optval,&ling,sizeof(ling)); |
optval | 321 | net/core/sock.c | err=verify_area(VERIFY_WRITE, optval, sizeof(int)); |
optval | 324 | net/core/sock.c | put_fs_long(val,(unsigned long *)optval); |
optval | 468 | net/ipv4/af_inet.c | char *optval, int optlen) |
optval | 472 | net/ipv4/af_inet.c | return sock_setsockopt(sk,level,optname,optval,optlen); |
optval | 476 | net/ipv4/af_inet.c | return sk->prot->setsockopt(sk,level,optname,optval,optlen); |
optval | 484 | net/ipv4/af_inet.c | char *optval, int *optlen) |
optval | 488 | net/ipv4/af_inet.c | return sock_getsockopt(sk,level,optname,optval,optlen); |
optval | 492 | net/ipv4/af_inet.c | return sk->prot->getsockopt(sk,level,optname,optval,optlen); |
optval | 112 | net/ipv4/ip_sockglue.c | int ip_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen) |
optval | 119 | net/ipv4/ip_sockglue.c | if (optval == NULL) |
optval | 126 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ, optval, sizeof(int)); |
optval | 129 | net/ipv4/ip_sockglue.c | val = get_user((int *) optval); |
optval | 130 | net/ipv4/ip_sockglue.c | ucval=get_user((unsigned char *) optval); |
optval | 138 | net/ipv4/ip_sockglue.c | return ip_mroute_setsockopt(sk,optname,optval,optlen); |
optval | 150 | net/ipv4/ip_sockglue.c | err = verify_area(VERIFY_READ, optval, optlen); |
optval | 158 | net/ipv4/ip_sockglue.c | memcpy_fromfs(opt->__data, optval, optlen); |
optval | 231 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ, optval, sizeof(addr)); |
optval | 235 | net/ipv4/ip_sockglue.c | memcpy_fromfs(&addr,optval,sizeof(addr)); |
optval | 281 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ, optval, sizeof(mreq)); |
optval | 285 | net/ipv4/ip_sockglue.c | memcpy_fromfs(&mreq,optval,sizeof(mreq)); |
optval | 338 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ, optval, sizeof(mreq)); |
optval | 342 | net/ipv4/ip_sockglue.c | memcpy_fromfs(&mreq,optval,sizeof(mreq)); |
optval | 405 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ,optval,optlen); |
optval | 408 | net/ipv4/ip_sockglue.c | memcpy_fromfs(&tmp_fw,optval,optlen); |
optval | 423 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ,optval,optlen); |
optval | 426 | net/ipv4/ip_sockglue.c | memcpy_fromfs(&tmp_fw, optval,optlen); |
optval | 441 | net/ipv4/ip_sockglue.c | int ip_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen) |
optval | 454 | net/ipv4/ip_sockglue.c | return ip_mroute_getsockopt(sk,optname,optval,optlen); |
optval | 477 | net/ipv4/ip_sockglue.c | err = verify_area(VERIFY_WRITE, optval, opt->optlen); |
optval | 510 | net/ipv4/ip_sockglue.c | memcpy_tofs(optval, opt->__data, opt->optlen); |
optval | 534 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_WRITE, optval, len); |
optval | 538 | net/ipv4/ip_sockglue.c | memcpy_tofs((void *)optval,sk->ip_mc_name, len); |
optval | 549 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_WRITE, optval, sizeof(int)); |
optval | 552 | 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 | 2019 | net/ipv4/tcp.c | int tcp_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen) |
optval | 2024 | net/ipv4/tcp.c | return ip_setsockopt(sk,level,optname,optval,optlen); |
optval | 2026 | net/ipv4/tcp.c | if (optval == NULL) |
optval | 2029 | net/ipv4/tcp.c | err=verify_area(VERIFY_READ, optval, sizeof(int)); |
optval | 2033 | net/ipv4/tcp.c | val = get_user((int *)optval); |
optval | 2055 | net/ipv4/tcp.c | int tcp_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen) |
optval | 2060 | net/ipv4/tcp.c | return ip_getsockopt(sk,level,optname,optval,optlen); |
optval | 2078 | net/ipv4/tcp.c | err=verify_area(VERIFY_WRITE, optval, sizeof(int)); |
optval | 2081 | net/ipv4/tcp.c | put_user(val,(int *)optval); |
optval | 1615 | net/ipx/af_ipx.c | static int ipx_setsockopt(struct socket *sock, int level, int optname, char *optval, int optlen) |
optval | 1622 | net/ipx/af_ipx.c | if(optval==NULL) |
optval | 1625 | net/ipx/af_ipx.c | err=verify_area(VERIFY_READ,optval,sizeof(int)); |
optval | 1628 | net/ipx/af_ipx.c | opt=get_fs_long((unsigned long *)optval); |
optval | 1644 | net/ipx/af_ipx.c | return sock_setsockopt(sk,level,optname,optval,optlen); |
optval | 1652 | net/ipx/af_ipx.c | char *optval, int *optlen) |
optval | 1675 | net/ipx/af_ipx.c | return sock_getsockopt(sk,level,optname,optval,optlen); |
optval | 1684 | net/ipx/af_ipx.c | err=verify_area(VERIFY_WRITE,optval,sizeof(int)); |
optval | 1686 | net/ipx/af_ipx.c | put_fs_long(val,(unsigned long *)optval); |
optval | 362 | net/netrom/af_netrom.c | char *optval, int optlen) |
optval | 370 | net/netrom/af_netrom.c | return sock_setsockopt(sk, level, optname, optval, optlen); |
optval | 375 | net/netrom/af_netrom.c | if (optval == NULL) |
optval | 378 | net/netrom/af_netrom.c | if ((err = verify_area(VERIFY_READ, optval, sizeof(int))) != 0) |
optval | 381 | net/netrom/af_netrom.c | opt = get_fs_long((unsigned long *)optval); |
optval | 418 | net/netrom/af_netrom.c | char *optval, int *optlen) |
optval | 427 | net/netrom/af_netrom.c | return sock_getsockopt(sk, level, optname, optval, optlen); |
optval | 462 | net/netrom/af_netrom.c | if ((err = verify_area(VERIFY_WRITE, optval, sizeof(int))) != 0) |
optval | 465 | net/netrom/af_netrom.c | put_fs_long(val, (unsigned long *)optval); |
optval | 1056 | net/socket.c | asmlinkage int sys_setsockopt(int fd, int level, int optname, char *optval, int optlen) |
optval | 1066 | net/socket.c | return(sock->ops->setsockopt(sock, level, optname, optval, optlen)); |
optval | 1074 | net/socket.c | asmlinkage int sys_getsockopt(int fd, int level, int optname, char *optval, int *optlen) |
optval | 1086 | net/socket.c | return(sock->ops->getsockopt(sock, level, optname, optval, optlen)); |
optval | 228 | net/unix/af_unix.c | static int unix_setsockopt(struct socket *sock, int level, int optname, char *optval, int optlen) |
optval | 233 | net/unix/af_unix.c | return sock_setsockopt(sk,level,optname,optval,optlen); |
optval | 236 | net/unix/af_unix.c | static int unix_getsockopt(struct socket *sock, int level, int optname, char *optval, int *optlen) |
optval | 241 | net/unix/af_unix.c | return sock_getsockopt(sk,level,optname,optval,optlen); |