• Home
  • Raw
  • Download

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
1026 switch (optname) { in do_rawv6_setsockopt()
1064 static int rawv6_setsockopt(struct sock *sk, int level, int optname, in rawv6_setsockopt() argument
1074 return rawv6_seticmpfilter(sk, level, optname, optval, optlen); in rawv6_setsockopt()
1076 if (optname == IPV6_CHECKSUM || in rawv6_setsockopt()
1077 optname == IPV6_HDRINCL) 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
1097 return rawv6_seticmpfilter(sk, level, optname, optval, optlen); in compat_rawv6_setsockopt()
1099 if (optname == IPV6_CHECKSUM || in compat_rawv6_setsockopt()
1100 optname == IPV6_HDRINCL) 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
1120 switch (optname) { in do_rawv6_getsockopt()
1149 static int rawv6_getsockopt(struct sock *sk, int level, int optname, in rawv6_getsockopt() argument
1159 return rawv6_geticmpfilter(sk, level, optname, optval, optlen); in rawv6_getsockopt()
1161 if (optname == IPV6_CHECKSUM || in rawv6_getsockopt()
1162 optname == IPV6_HDRINCL) 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
1182 return rawv6_geticmpfilter(sk, level, optname, optval, optlen); in compat_rawv6_getsockopt()
1184 if (optname == IPV6_CHECKSUM || in compat_rawv6_getsockopt()
1185 optname == IPV6_HDRINCL) 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()