• Home
  • Raw
  • Download

Lines Matching refs:level

840 static int do_raw_setsockopt(struct sock *sk, int level, int optname,  in do_raw_setsockopt()  argument
852 static int raw_setsockopt(struct sock *sk, int level, int optname, in raw_setsockopt() argument
855 if (level != SOL_RAW) in raw_setsockopt()
856 return ip_setsockopt(sk, level, optname, optval, optlen); in raw_setsockopt()
857 return do_raw_setsockopt(sk, level, optname, optval, optlen); in raw_setsockopt()
861 static int compat_raw_setsockopt(struct sock *sk, int level, int optname, in compat_raw_setsockopt() argument
864 if (level != SOL_RAW) in compat_raw_setsockopt()
865 return compat_ip_setsockopt(sk, level, optname, optval, optlen); in compat_raw_setsockopt()
866 return do_raw_setsockopt(sk, level, optname, optval, optlen); in compat_raw_setsockopt()
870 static int do_raw_getsockopt(struct sock *sk, int level, int optname, in do_raw_getsockopt() argument
882 static int raw_getsockopt(struct sock *sk, int level, int optname, in raw_getsockopt() argument
885 if (level != SOL_RAW) in raw_getsockopt()
886 return ip_getsockopt(sk, level, optname, optval, optlen); in raw_getsockopt()
887 return do_raw_getsockopt(sk, level, optname, optval, optlen); in raw_getsockopt()
891 static int compat_raw_getsockopt(struct sock *sk, int level, int optname, in compat_raw_getsockopt() argument
894 if (level != SOL_RAW) in compat_raw_getsockopt()
895 return compat_ip_getsockopt(sk, level, optname, optval, optlen); in compat_raw_getsockopt()
896 return do_raw_getsockopt(sk, level, optname, optval, optlen); in compat_raw_getsockopt()