tag | line | file | source code |
optval | 112 | include/linux/net.h | char *optval, int optlen); |
optval | 114 | include/linux/net.h | char *optval, int *optlen); |
optval | 150 | include/net/ip.h | extern int ip_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen); |
optval | 151 | include/net/ip.h | extern int ip_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen); |
optval | 302 | include/net/sock.h | char *optval, int optlen); |
optval | 304 | include/net/sock.h | char *optval, int *option); |
optval | 369 | include/net/sock.h | int op, char *optval, |
optval | 373 | 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 | 697 | net/ax25/af_ax25.c | char *optval, int optlen) |
optval | 705 | net/ax25/af_ax25.c | return sock_setsockopt(sk, level, optname, optval, optlen); |
optval | 710 | net/ax25/af_ax25.c | if (optval == NULL) |
optval | 713 | net/ax25/af_ax25.c | if ((err = verify_area(VERIFY_READ, optval, sizeof(int))) != 0) |
optval | 716 | net/ax25/af_ax25.c | opt = get_fs_long((unsigned long *)optval); |
optval | 772 | net/ax25/af_ax25.c | char *optval, int *optlen) |
optval | 781 | net/ax25/af_ax25.c | return sock_getsockopt(sk, level, optname, optval, optlen); |
optval | 828 | net/ax25/af_ax25.c | if ((err = verify_area(VERIFY_WRITE, optval, sizeof(int))) != 0) |
optval | 831 | net/ax25/af_ax25.c | put_user(val, optval); |
optval | 121 | net/core/sock.c | char *optval, int optlen) |
optval | 128 | net/core/sock.c | if (optval == NULL) |
optval | 131 | net/core/sock.c | err=verify_area(VERIFY_READ, optval, sizeof(int)); |
optval | 135 | net/core/sock.c | val = get_user((int *)optval); |
optval | 198 | net/core/sock.c | err=verify_area(VERIFY_READ,optval,sizeof(ling)); |
optval | 201 | net/core/sock.c | memcpy_fromfs(&ling,optval,sizeof(ling)); |
optval | 222 | net/core/sock.c | char *optval, int *optlen) |
optval | 281 | net/core/sock.c | err=verify_area(VERIFY_WRITE,optval,sizeof(ling)); |
optval | 290 | net/core/sock.c | memcpy_tofs(optval,&ling,sizeof(ling)); |
optval | 305 | net/core/sock.c | err=verify_area(VERIFY_WRITE, optval, sizeof(int)); |
optval | 308 | net/core/sock.c | put_fs_long(val,(unsigned long *)optval); |
optval | 463 | net/ipv4/af_inet.c | char *optval, int optlen) |
optval | 467 | net/ipv4/af_inet.c | return sock_setsockopt(sk,level,optname,optval,optlen); |
optval | 471 | net/ipv4/af_inet.c | return sk->prot->setsockopt(sk,level,optname,optval,optlen); |
optval | 479 | net/ipv4/af_inet.c | char *optval, int *optlen) |
optval | 483 | net/ipv4/af_inet.c | return sock_getsockopt(sk,level,optname,optval,optlen); |
optval | 487 | 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 | 385 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ,optval,optlen); |
optval | 388 | net/ipv4/ip_sockglue.c | memcpy_fromfs(&tmp_fw,optval,optlen); |
optval | 402 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ,optval,optlen); |
optval | 405 | net/ipv4/ip_sockglue.c | memcpy_fromfs(&tmp_fw, optval,optlen); |
optval | 420 | net/ipv4/ip_sockglue.c | int ip_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen) |
optval | 433 | net/ipv4/ip_sockglue.c | return ip_mroute_getsockopt(sk,optname,optval,optlen); |
optval | 456 | net/ipv4/ip_sockglue.c | err = verify_area(VERIFY_WRITE, optval, opt->optlen); |
optval | 489 | net/ipv4/ip_sockglue.c | memcpy_tofs(optval, opt->__data, opt->optlen); |
optval | 513 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_WRITE, optval, len); |
optval | 517 | net/ipv4/ip_sockglue.c | memcpy_tofs((void *)optval,sk->ip_mc_name, len); |
optval | 528 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_WRITE, optval, sizeof(int)); |
optval | 531 | net/ipv4/ip_sockglue.c | put_user(val,(int *) optval); |
optval | 426 | net/ipv4/ipmr.c | int ip_mroute_setsockopt(struct sock *sk,int optname,char *optval,int optlen) |
optval | 445 | net/ipv4/ipmr.c | if((err=verify_area(VERIFY_READ,optval,sizeof(int)))<0) |
optval | 447 | net/ipv4/ipmr.c | if(get_user((int *)optval)!=1) |
optval | 462 | net/ipv4/ipmr.c | if((err=verify_area(VERIFY_READ, optval, sizeof(vif)))<0) |
optval | 464 | net/ipv4/ipmr.c | memcpy_fromfs(&vif,optval,sizeof(vif)); |
optval | 539 | net/ipv4/ipmr.c | err=verify_area(VERIFY_READ, optval, sizeof(mfc)); |
optval | 542 | net/ipv4/ipmr.c | memcpy_fromfs(&mfc,optval, sizeof(mfc)); |
optval | 550 | net/ipv4/ipmr.c | if((err=verify_area(VERIFY_READ, optval,sizeof(int)))<0) |
optval | 552 | net/ipv4/ipmr.c | mroute_do_pim= (optval)?1:0; |
optval | 567 | net/ipv4/ipmr.c | int ip_mroute_getsockopt(struct sock *sk,int optname,char *optval,int *optlen) |
optval | 580 | net/ipv4/ipmr.c | err=verify_area(VERIFY_WRITE, optval,sizeof(int)); |
optval | 585 | net/ipv4/ipmr.c | put_user(0x0305,(int *)optval); |
optval | 587 | net/ipv4/ipmr.c | put_user(mroute_do_pim,(int *)optval); |
optval | 5450 | net/ipv4/tcp.c | int tcp_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen) |
optval | 5455 | net/ipv4/tcp.c | return ip_setsockopt(sk,level,optname,optval,optlen); |
optval | 5457 | net/ipv4/tcp.c | if (optval == NULL) |
optval | 5460 | net/ipv4/tcp.c | err=verify_area(VERIFY_READ, optval, sizeof(int)); |
optval | 5464 | net/ipv4/tcp.c | val = get_user((int *)optval); |
optval | 5486 | net/ipv4/tcp.c | int tcp_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen) |
optval | 5491 | net/ipv4/tcp.c | return ip_getsockopt(sk,level,optname,optval,optlen); |
optval | 5509 | net/ipv4/tcp.c | err=verify_area(VERIFY_WRITE, optval, sizeof(int)); |
optval | 5512 | net/ipv4/tcp.c | put_user(val,(int *)optval); |
optval | 1369 | net/ipx/af_ipx.c | static int ipx_setsockopt(struct socket *sock, int level, int optname, char *optval, int optlen) |
optval | 1376 | net/ipx/af_ipx.c | if(optval==NULL) |
optval | 1379 | net/ipx/af_ipx.c | err=verify_area(VERIFY_READ,optval,sizeof(int)); |
optval | 1382 | net/ipx/af_ipx.c | opt=get_fs_long((unsigned long *)optval); |
optval | 1398 | net/ipx/af_ipx.c | return sock_setsockopt(sk,level,optname,optval,optlen); |
optval | 1406 | net/ipx/af_ipx.c | char *optval, int *optlen) |
optval | 1429 | net/ipx/af_ipx.c | return sock_getsockopt(sk,level,optname,optval,optlen); |
optval | 1438 | net/ipx/af_ipx.c | err=verify_area(VERIFY_WRITE,optval,sizeof(int)); |
optval | 1439 | net/ipx/af_ipx.c | put_fs_long(val,(unsigned long *)optval); |
optval | 297 | net/netrom/af_netrom.c | char *optval, int optlen) |
optval | 305 | net/netrom/af_netrom.c | return sock_setsockopt(sk, level, optname, optval, optlen); |
optval | 310 | net/netrom/af_netrom.c | if (optval == NULL) |
optval | 313 | net/netrom/af_netrom.c | if ((err = verify_area(VERIFY_READ, optval, sizeof(int))) != 0) |
optval | 316 | net/netrom/af_netrom.c | opt = get_fs_long((unsigned long *)optval); |
optval | 347 | net/netrom/af_netrom.c | char *optval, int *optlen) |
optval | 356 | net/netrom/af_netrom.c | return sock_getsockopt(sk, level, optname, optval, optlen); |
optval | 387 | net/netrom/af_netrom.c | if ((err = verify_area(VERIFY_WRITE, optval, sizeof(int))) != 0) |
optval | 390 | net/netrom/af_netrom.c | put_fs_long(val, (unsigned long *)optval); |
optval | 1022 | net/socket.c | asmlinkage int sys_setsockopt(int fd, int level, int optname, char *optval, int optlen) |
optval | 1032 | net/socket.c | return(sock->ops->setsockopt(sock, level, optname, optval, optlen)); |
optval | 1040 | net/socket.c | asmlinkage int sys_getsockopt(int fd, int level, int optname, char *optval, int *optlen) |
optval | 1052 | net/socket.c | return(sock->ops->getsockopt(sock, level, optname, optval, optlen)); |
optval | 218 | net/unix/af_unix.c | static int unix_setsockopt(struct socket *sock, int level, int optname, char *optval, int optlen) |
optval | 223 | net/unix/af_unix.c | return sock_setsockopt(sk,level,optname,optval,optlen); |
optval | 226 | net/unix/af_unix.c | static int unix_getsockopt(struct socket *sock, int level, int optname, char *optval, int *optlen) |
optval | 231 | net/unix/af_unix.c | return sock_getsockopt(sk,level,optname,optval,optlen); |