Lines Matching refs:level
977 static int rawv6_seticmpfilter(struct sock *sk, int level, int optname, in rawv6_seticmpfilter() argument
994 static int rawv6_geticmpfilter(struct sock *sk, int level, int optname, in rawv6_geticmpfilter() argument
1020 static int do_rawv6_setsockopt(struct sock *sk, int level, int optname, in do_rawv6_setsockopt() argument
1037 level == IPPROTO_IPV6) { in do_rawv6_setsockopt()
1067 static int rawv6_setsockopt(struct sock *sk, int level, int optname, in rawv6_setsockopt() argument
1070 switch (level) { in rawv6_setsockopt()
1077 return rawv6_seticmpfilter(sk, level, optname, optval, optlen); in rawv6_setsockopt()
1083 return ipv6_setsockopt(sk, level, optname, optval, optlen); in rawv6_setsockopt()
1086 return do_rawv6_setsockopt(sk, level, optname, optval, optlen); in rawv6_setsockopt()
1090 static int compat_rawv6_setsockopt(struct sock *sk, int level, int optname, in compat_rawv6_setsockopt() argument
1093 switch (level) { in compat_rawv6_setsockopt()
1099 return rawv6_seticmpfilter(sk, level, optname, optval, optlen); in compat_rawv6_setsockopt()
1105 return compat_ipv6_setsockopt(sk, level, optname, in compat_rawv6_setsockopt()
1108 return do_rawv6_setsockopt(sk, level, optname, optval, optlen); in compat_rawv6_setsockopt()
1112 static int do_rawv6_getsockopt(struct sock *sk, int level, int optname, in do_rawv6_getsockopt() argument
1150 static int rawv6_getsockopt(struct sock *sk, int level, int optname, in rawv6_getsockopt() argument
1153 switch (level) { in rawv6_getsockopt()
1160 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()
1188 return compat_ipv6_getsockopt(sk, level, optname, in compat_rawv6_getsockopt()
1191 return do_rawv6_getsockopt(sk, level, optname, optval, optlen); in compat_rawv6_getsockopt()