taglinefilesource code
optval124include/linux/net.hchar *optval, int optlen);
optval126include/linux/net.hchar *optval, int *optlen);
optval97include/net/ip.hextern int     ip_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen);
optval98include/net/ip.hextern int     ip_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen);
optval288include/net/sock.hchar *optval, int optlen);
optval290include/net/sock.hchar *optval, int *option);     
optval347include/net/sock.hint op, char *optval,
optval351include/net/sock.hint op, char *optval, 
optval946net/appletalk/ddp.cstatic int atalk_setsockopt(struct socket *sock, int level, int optname, char *optval, int optlen)
optval953net/appletalk/ddp.cif(optval==NULL)
optval956net/appletalk/ddp.cerr=verify_area(VERIFY_READ,optval,sizeof(int));
optval959net/appletalk/ddp.copt=get_fs_long((unsigned long *)optval);
optval972net/appletalk/ddp.creturn sock_setsockopt(sk,level,optname,optval,optlen);
optval985net/appletalk/ddp.cchar *optval, int *optlen)
optval1005net/appletalk/ddp.creturn sock_getsockopt(sk,level,optname,optval,optlen);
optval1014net/appletalk/ddp.cerr=verify_area(VERIFY_WRITE,optval,sizeof(int));
optval1015net/appletalk/ddp.cput_user(val,optval);
optval685net/ax25/af_ax25.cchar *optval, int optlen)
optval693net/ax25/af_ax25.creturn sock_setsockopt(sk, level, optname, optval, optlen);
optval698net/ax25/af_ax25.cif (optval == NULL)
optval701net/ax25/af_ax25.cif ((err = verify_area(VERIFY_READ, optval, sizeof(int))) != 0)
optval704net/ax25/af_ax25.copt = get_fs_long((unsigned long *)optval);
optval760net/ax25/af_ax25.cchar *optval, int *optlen)
optval769net/ax25/af_ax25.creturn sock_getsockopt(sk, level, optname, optval, optlen);
optval816net/ax25/af_ax25.cif ((err = verify_area(VERIFY_WRITE, optval, sizeof(int))) != 0)
optval819net/ax25/af_ax25.cput_user(val, optval);
optval119net/core/sock.cchar *optval, int optlen)
optval126net/core/sock.cif (optval == NULL) 
optval129net/core/sock.cerr=verify_area(VERIFY_READ, optval, sizeof(int));
optval133net/core/sock.cval = get_user((int *)optval);
optval196net/core/sock.cerr=verify_area(VERIFY_READ,optval,sizeof(ling));
optval199net/core/sock.cmemcpy_fromfs(&ling,optval,sizeof(ling));
optval217net/core/sock.cchar *optval, int *optlen)
optval275net/core/sock.cerr=verify_area(VERIFY_WRITE,optval,sizeof(ling));
optval284net/core/sock.cmemcpy_tofs(optval,&ling,sizeof(ling));
optval297net/core/sock.cerr=verify_area(VERIFY_WRITE, optval, sizeof(int));
optval300net/core/sock.cput_fs_long(val,(unsigned long *)optval);
optval441net/ipv4/af_inet.cchar *optval, int optlen)
optval445net/ipv4/af_inet.creturn sock_setsockopt(sk,level,optname,optval,optlen);
optval449net/ipv4/af_inet.creturn sk->prot->setsockopt(sk,level,optname,optval,optlen);
optval457net/ipv4/af_inet.cchar *optval, int *optlen)
optval461net/ipv4/af_inet.creturn sock_getsockopt(sk,level,optname,optval,optlen);
optval465net/ipv4/af_inet.creturn sk->prot->getsockopt(sk,level,optname,optval,optlen);
optval2071net/ipv4/ip.cint ip_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen)
optval2078net/ipv4/ip.cif (optval == NULL)
optval2085net/ipv4/ip.cerr=verify_area(VERIFY_READ, optval, sizeof(int));
optval2088net/ipv4/ip.cval = get_user((int *) optval);
optval2089net/ipv4/ip.cucval=get_user((unsigned char *) optval);
optval2097net/ipv4/ip.creturn ip_mroute_setsockopt(sk,optname,optval,optlen);
optval2144net/ipv4/ip.cerr=verify_area(VERIFY_READ, optval, sizeof(addr));
optval2148net/ipv4/ip.cmemcpy_fromfs(&addr,optval,sizeof(addr));
optval2194net/ipv4/ip.cerr=verify_area(VERIFY_READ, optval, sizeof(mreq));
optval2198net/ipv4/ip.cmemcpy_fromfs(&mreq,optval,sizeof(mreq));
optval2249net/ipv4/ip.cerr=verify_area(VERIFY_READ, optval, sizeof(mreq));
optval2253net/ipv4/ip.cmemcpy_fromfs(&mreq,optval,sizeof(mreq));
optval2304net/ipv4/ip.cerr=verify_area(VERIFY_READ,optval,optlen);
optval2307net/ipv4/ip.cmemcpy_fromfs(&tmp_fw,optval,optlen);
optval2321net/ipv4/ip.cerr=verify_area(VERIFY_READ,optval,optlen);
optval2324net/ipv4/ip.cmemcpy_fromfs(&tmp_fw, optval,optlen);
optval2339net/ipv4/ip.cint ip_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen)
optval2352net/ipv4/ip.creturn ip_mroute_getsockopt(sk,optname,optval,optlen);
optval2379net/ipv4/ip.cerr=verify_area(VERIFY_WRITE, optval, len);
optval2383net/ipv4/ip.cmemcpy_tofs((void *)optval,sk->ip_mc_name, len);
optval2394net/ipv4/ip.cerr=verify_area(VERIFY_WRITE, optval, sizeof(int));
optval2397net/ipv4/ip.cput_user(val,(int *) optval);
optval52net/ipv4/ipmr.cint ip_mroute_setsockopt(struct sock *sk,int optname,char *optval,int optlen)
optval70net/ipv4/ipmr.cif((err=verify_area(VERIFY_READ,optval,sizeof(int)))<0)
optval72net/ipv4/ipmr.cif(get_user((int *)optval)!=1)
optval87net/ipv4/ipmr.cif((err=verify_area(VERIFY_READ, optval, sizeof(vif)))<0)
optval89net/ipv4/ipmr.cmemcpy_fromfs(&vif,optval,sizeof(vif));
optval175net/ipv4/ipmr.cif((err=verify_area(VERIFY_READ, optval,sizeof(int)))<0)
optval177net/ipv4/ipmr.cmroute_do_pim= (optval)?1:0;
optval192net/ipv4/ipmr.cint ip_mroute_getsockopt(struct sock *sk,int optname,char *optval,int *optlen)
optval205net/ipv4/ipmr.cerr=verify_area(VERIFY_WRITE, optval,sizeof(int));
optval210net/ipv4/ipmr.cput_user(0x0305,(int *)optval);
optval212net/ipv4/ipmr.cput_user(mroute_do_pim,(int *)optval);
optval5156net/ipv4/tcp.cint tcp_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen)
optval5161net/ipv4/tcp.creturn ip_setsockopt(sk,level,optname,optval,optlen);
optval5163net/ipv4/tcp.cif (optval == NULL) 
optval5166net/ipv4/tcp.cerr=verify_area(VERIFY_READ, optval, sizeof(int));
optval5170net/ipv4/tcp.cval = get_user((int *)optval);
optval5192net/ipv4/tcp.cint tcp_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen)
optval5197net/ipv4/tcp.creturn ip_getsockopt(sk,level,optname,optval,optlen);
optval5215net/ipv4/tcp.cerr=verify_area(VERIFY_WRITE, optval, sizeof(int));
optval5218net/ipv4/tcp.cput_user(val,(int *)optval);
optval1283net/ipx/af_ipx.cstatic int ipx_setsockopt(struct socket *sock, int level, int optname, char *optval, int optlen)
optval1290net/ipx/af_ipx.cif(optval==NULL)
optval1293net/ipx/af_ipx.cerr=verify_area(VERIFY_READ,optval,sizeof(int));
optval1296net/ipx/af_ipx.copt=get_fs_long((unsigned long *)optval);
optval1312net/ipx/af_ipx.creturn sock_setsockopt(sk,level,optname,optval,optlen);
optval1320net/ipx/af_ipx.cchar *optval, int *optlen)
optval1343net/ipx/af_ipx.creturn sock_getsockopt(sk,level,optname,optval,optlen);
optval1352net/ipx/af_ipx.cerr=verify_area(VERIFY_WRITE,optval,sizeof(int));
optval1353net/ipx/af_ipx.cput_fs_long(val,(unsigned long *)optval);
optval294net/netrom/af_netrom.cchar *optval, int optlen)
optval302net/netrom/af_netrom.creturn sock_setsockopt(sk, level, optname, optval, optlen);
optval307net/netrom/af_netrom.cif (optval == NULL)
optval310net/netrom/af_netrom.cif ((err = verify_area(VERIFY_READ, optval, sizeof(int))) != 0)
optval313net/netrom/af_netrom.copt = get_fs_long((unsigned long *)optval);
optval344net/netrom/af_netrom.cchar *optval, int *optlen)
optval353net/netrom/af_netrom.creturn sock_getsockopt(sk, level, optname, optval, optlen);
optval384net/netrom/af_netrom.cif ((err = verify_area(VERIFY_WRITE, optval, sizeof(int))) != 0)
optval387net/netrom/af_netrom.cput_fs_long(val, (unsigned long *)optval);
optval1042net/socket.casmlinkage int sys_setsockopt(int fd, int level, int optname, char *optval, int optlen)
optval1052net/socket.creturn(sock->ops->setsockopt(sock, level, optname, optval, optlen));
optval1060net/socket.casmlinkage int sys_getsockopt(int fd, int level, int optname, char *optval, int *optlen)
optval1072net/socket.creturn(sock->ops->getsockopt(sock, level, optname, optval, optlen));
optval206net/unix/af_unix.cstatic int unix_setsockopt(struct socket *sock, int level, int optname, char *optval, int optlen)
optval211net/unix/af_unix.creturn sock_setsockopt(sk,level,optname,optval,optlen);  
optval214net/unix/af_unix.cstatic int unix_getsockopt(struct socket *sock, int level, int optname, char *optval, int *optlen)
optval219net/unix/af_unix.creturn sock_getsockopt(sk,level,optname,optval,optlen);