Lines Matching refs:level
974 static int rawv6_seticmpfilter(struct sock *sk, int level, int optname, in rawv6_seticmpfilter() argument
991 static int rawv6_geticmpfilter(struct sock *sk, int level, int optname, in rawv6_geticmpfilter() argument
1017 static int do_rawv6_setsockopt(struct sock *sk, int level, int optname, in do_rawv6_setsockopt() argument
1034 level == IPPROTO_IPV6) { in do_rawv6_setsockopt()
1064 static int rawv6_setsockopt(struct sock *sk, int level, int optname, in rawv6_setsockopt() argument
1067 switch (level) { in rawv6_setsockopt()
1074 return rawv6_seticmpfilter(sk, level, optname, optval, optlen); in rawv6_setsockopt()
1081 return ipv6_setsockopt(sk, level, optname, optval, optlen); in rawv6_setsockopt()
1084 return do_rawv6_setsockopt(sk, level, optname, optval, optlen); in rawv6_setsockopt()
1088 static int compat_rawv6_setsockopt(struct sock *sk, int level, int optname, in compat_rawv6_setsockopt() argument
1091 switch (level) { in compat_rawv6_setsockopt()
1097 return rawv6_seticmpfilter(sk, level, optname, optval, optlen); in compat_rawv6_setsockopt()
1104 return compat_ipv6_setsockopt(sk, level, optname, in compat_rawv6_setsockopt()
1107 return do_rawv6_setsockopt(sk, level, optname, optval, optlen); in compat_rawv6_setsockopt()
1111 static int do_rawv6_getsockopt(struct sock *sk, int level, int optname, in do_rawv6_getsockopt() argument
1149 static int rawv6_getsockopt(struct sock *sk, int level, int optname, in rawv6_getsockopt() argument
1152 switch (level) { in rawv6_getsockopt()
1159 return rawv6_geticmpfilter(sk, level, optname, optval, optlen); in rawv6_getsockopt()
1166 return ipv6_getsockopt(sk, level, optname, optval, optlen); in rawv6_getsockopt()
1169 return do_rawv6_getsockopt(sk, level, optname, optval, optlen); in rawv6_getsockopt()
1173 static int compat_rawv6_getsockopt(struct sock *sk, int level, int optname, in compat_rawv6_getsockopt() argument
1176 switch (level) { in compat_rawv6_getsockopt()
1182 return rawv6_geticmpfilter(sk, level, optname, optval, optlen); in compat_rawv6_getsockopt()
1189 return compat_ipv6_getsockopt(sk, level, optname, in compat_rawv6_getsockopt()
1192 return do_rawv6_getsockopt(sk, level, optname, optval, optlen); in compat_rawv6_getsockopt()