tag | line | file | source code |
optval | 113 | include/linux/net.h | char *optval, int optlen); |
optval | 115 | 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 | 362 | include/net/sock.h | char *optval, int optlen); |
optval | 364 | include/net/sock.h | char *optval, int *option); |
optval | 473 | include/net/sock.h | int op, char *optval, |
optval | 477 | 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 | 874 | net/ax25/af_ax25.c | char *optval, int optlen) |
optval | 882 | net/ax25/af_ax25.c | return sock_setsockopt(sk, level, optname, optval, optlen); |
optval | 887 | net/ax25/af_ax25.c | if (optval == NULL) |
optval | 890 | net/ax25/af_ax25.c | if ((err = verify_area(VERIFY_READ, optval, sizeof(int))) != 0) |
optval | 893 | net/ax25/af_ax25.c | opt = get_fs_long((unsigned long *)optval); |
optval | 961 | net/ax25/af_ax25.c | char *optval, int *optlen) |
optval | 970 | net/ax25/af_ax25.c | return sock_getsockopt(sk, level, optname, optval, optlen); |
optval | 1025 | net/ax25/af_ax25.c | if ((err = verify_area(VERIFY_WRITE, optval, sizeof(int))) != 0) |
optval | 1028 | 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 | 461 | net/ipv4/af_inet.c | char *optval, int optlen) |
optval | 465 | net/ipv4/af_inet.c | return sock_setsockopt(sk,level,optname,optval,optlen); |
optval | 469 | net/ipv4/af_inet.c | return sk->prot->setsockopt(sk,level,optname,optval,optlen); |
optval | 477 | net/ipv4/af_inet.c | char *optval, int *optlen) |
optval | 481 | net/ipv4/af_inet.c | return sock_getsockopt(sk,level,optname,optval,optlen); |
optval | 485 | net/ipv4/af_inet.c | return sk->prot->getsockopt(sk,level,optname,optval,optlen); |
optval | 111 | net/ipv4/ip_sockglue.c | int ip_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen) |
optval | 118 | net/ipv4/ip_sockglue.c | if (optval == NULL) |
optval | 125 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ, optval, sizeof(int)); |
optval | 128 | net/ipv4/ip_sockglue.c | val = get_user((int *) optval); |
optval | 129 | net/ipv4/ip_sockglue.c | ucval=get_user((unsigned char *) optval); |
optval | 137 | net/ipv4/ip_sockglue.c | return ip_mroute_setsockopt(sk,optname,optval,optlen); |
optval | 149 | net/ipv4/ip_sockglue.c | err = verify_area(VERIFY_READ, optval, optlen); |
optval | 157 | net/ipv4/ip_sockglue.c | memcpy_fromfs(opt->__data, optval, optlen); |
optval | 221 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ, optval, sizeof(addr)); |
optval | 225 | net/ipv4/ip_sockglue.c | memcpy_fromfs(&addr,optval,sizeof(addr)); |
optval | 271 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ, optval, sizeof(mreq)); |
optval | 275 | net/ipv4/ip_sockglue.c | memcpy_fromfs(&mreq,optval,sizeof(mreq)); |
optval | 328 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ, optval, sizeof(mreq)); |
optval | 332 | net/ipv4/ip_sockglue.c | memcpy_fromfs(&mreq,optval,sizeof(mreq)); |
optval | 394 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ,optval,optlen); |
optval | 397 | net/ipv4/ip_sockglue.c | memcpy_fromfs(&tmp_fw,optval,optlen); |
optval | 412 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ,optval,optlen); |
optval | 415 | net/ipv4/ip_sockglue.c | memcpy_fromfs(&tmp_fw, optval,optlen); |
optval | 430 | net/ipv4/ip_sockglue.c | int ip_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen) |
optval | 443 | net/ipv4/ip_sockglue.c | return ip_mroute_getsockopt(sk,optname,optval,optlen); |
optval | 466 | net/ipv4/ip_sockglue.c | err = verify_area(VERIFY_WRITE, optval, opt->optlen); |
optval | 499 | net/ipv4/ip_sockglue.c | memcpy_tofs(optval, opt->__data, opt->optlen); |
optval | 523 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_WRITE, optval, len); |
optval | 527 | net/ipv4/ip_sockglue.c | memcpy_tofs((void *)optval,sk->ip_mc_name, len); |
optval | 538 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_WRITE, optval, sizeof(int)); |
optval | 541 | 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 | 2078 | net/ipv4/tcp.c | int tcp_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen) |
optval | 2083 | net/ipv4/tcp.c | return ip_setsockopt(sk,level,optname,optval,optlen); |
optval | 2085 | net/ipv4/tcp.c | if (optval == NULL) |
optval | 2088 | net/ipv4/tcp.c | err=verify_area(VERIFY_READ, optval, sizeof(int)); |
optval | 2092 | net/ipv4/tcp.c | val = get_user((int *)optval); |
optval | 2114 | net/ipv4/tcp.c | int tcp_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen) |
optval | 2119 | net/ipv4/tcp.c | return ip_getsockopt(sk,level,optname,optval,optlen); |
optval | 2137 | net/ipv4/tcp.c | err=verify_area(VERIFY_WRITE, optval, sizeof(int)); |
optval | 2140 | net/ipv4/tcp.c | put_user(val,(int *)optval); |
optval | 1589 | net/ipx/af_ipx.c | static int ipx_setsockopt(struct socket *sock, int level, int optname, char *optval, int optlen) |
optval | 1596 | net/ipx/af_ipx.c | if(optval==NULL) |
optval | 1599 | net/ipx/af_ipx.c | err=verify_area(VERIFY_READ,optval,sizeof(int)); |
optval | 1602 | net/ipx/af_ipx.c | opt=get_fs_long((unsigned long *)optval); |
optval | 1618 | net/ipx/af_ipx.c | return sock_setsockopt(sk,level,optname,optval,optlen); |
optval | 1626 | net/ipx/af_ipx.c | char *optval, int *optlen) |
optval | 1649 | net/ipx/af_ipx.c | return sock_getsockopt(sk,level,optname,optval,optlen); |
optval | 1658 | net/ipx/af_ipx.c | err=verify_area(VERIFY_WRITE,optval,sizeof(int)); |
optval | 1660 | net/ipx/af_ipx.c | put_fs_long(val,(unsigned long *)optval); |
optval | 286 | net/netrom/af_netrom.c | char *optval, int optlen) |
optval | 294 | net/netrom/af_netrom.c | return sock_setsockopt(sk, level, optname, optval, optlen); |
optval | 299 | net/netrom/af_netrom.c | if (optval == NULL) |
optval | 302 | net/netrom/af_netrom.c | if ((err = verify_area(VERIFY_READ, optval, sizeof(int))) != 0) |
optval | 305 | net/netrom/af_netrom.c | opt = get_fs_long((unsigned long *)optval); |
optval | 336 | net/netrom/af_netrom.c | char *optval, int *optlen) |
optval | 345 | net/netrom/af_netrom.c | return sock_getsockopt(sk, level, optname, optval, optlen); |
optval | 376 | net/netrom/af_netrom.c | if ((err = verify_area(VERIFY_WRITE, optval, sizeof(int))) != 0) |
optval | 379 | net/netrom/af_netrom.c | put_fs_long(val, (unsigned long *)optval); |
optval | 1055 | net/socket.c | asmlinkage int sys_setsockopt(int fd, int level, int optname, char *optval, int optlen) |
optval | 1065 | net/socket.c | return(sock->ops->setsockopt(sock, level, optname, optval, optlen)); |
optval | 1073 | net/socket.c | asmlinkage int sys_getsockopt(int fd, int level, int optname, char *optval, int *optlen) |
optval | 1085 | net/socket.c | return(sock->ops->getsockopt(sock, level, optname, optval, optlen)); |
optval | 227 | net/unix/af_unix.c | static int unix_setsockopt(struct socket *sock, int level, int optname, char *optval, int optlen) |
optval | 232 | net/unix/af_unix.c | return sock_setsockopt(sk,level,optname,optval,optlen); |
optval | 235 | net/unix/af_unix.c | static int unix_getsockopt(struct socket *sock, int level, int optname, char *optval, int *optlen) |
optval | 240 | net/unix/af_unix.c | return sock_getsockopt(sk,level,optname,optval,optlen); |