Lines Matching refs:optname
974 static int rawv6_seticmpfilter(struct sock *sk, int level, int optname, in rawv6_seticmpfilter() argument
977 switch (optname) { in rawv6_seticmpfilter()
991 static int rawv6_geticmpfilter(struct sock *sk, int level, int optname, in rawv6_geticmpfilter() argument
996 switch (optname) { in rawv6_geticmpfilter()
1017 static int do_rawv6_setsockopt(struct sock *sk, int level, int optname, in do_rawv6_setsockopt() argument
1029 switch (optname) { in do_rawv6_setsockopt()
1067 static int rawv6_setsockopt(struct sock *sk, int level, int optname, in rawv6_setsockopt() argument
1077 return rawv6_seticmpfilter(sk, level, optname, optval, optlen); in rawv6_setsockopt()
1079 if (optname == IPV6_CHECKSUM || in rawv6_setsockopt()
1080 optname == IPV6_HDRINCL) in rawv6_setsockopt()
1084 return ipv6_setsockopt(sk, level, optname, optval, optlen); in rawv6_setsockopt()
1087 return do_rawv6_setsockopt(sk, level, optname, optval, optlen); in rawv6_setsockopt()
1090 static int do_rawv6_getsockopt(struct sock *sk, int level, int optname, in do_rawv6_getsockopt() argument
1099 switch (optname) { in do_rawv6_getsockopt()
1128 static int rawv6_getsockopt(struct sock *sk, int level, int optname, in rawv6_getsockopt() argument
1138 return rawv6_geticmpfilter(sk, level, optname, optval, optlen); in rawv6_getsockopt()
1140 if (optname == IPV6_CHECKSUM || in rawv6_getsockopt()
1141 optname == IPV6_HDRINCL) in rawv6_getsockopt()
1145 return ipv6_getsockopt(sk, level, optname, optval, optlen); in rawv6_getsockopt()
1148 return do_rawv6_getsockopt(sk, level, optname, optval, optlen); in rawv6_getsockopt()