• Home
  • Raw
  • Download

Lines Matching refs:optname

921 static int rawv6_seticmpfilter(struct sock *sk, int level, int optname,  in rawv6_seticmpfilter()  argument
924 switch (optname) { in rawv6_seticmpfilter()
938 static int rawv6_geticmpfilter(struct sock *sk, int level, int optname, in rawv6_geticmpfilter() argument
943 switch (optname) { in rawv6_geticmpfilter()
964 static int do_rawv6_setsockopt(struct sock *sk, int level, int optname, in do_rawv6_setsockopt() argument
973 switch (optname) { in do_rawv6_setsockopt()
1006 static int rawv6_setsockopt(struct sock *sk, int level, int optname, in rawv6_setsockopt() argument
1016 return rawv6_seticmpfilter(sk, level, optname, optval, optlen); in rawv6_setsockopt()
1018 if (optname == IPV6_CHECKSUM) in rawv6_setsockopt()
1021 return ipv6_setsockopt(sk, level, optname, optval, optlen); in rawv6_setsockopt()
1024 return do_rawv6_setsockopt(sk, level, optname, optval, optlen); in rawv6_setsockopt()
1028 static int compat_rawv6_setsockopt(struct sock *sk, int level, int optname, in compat_rawv6_setsockopt() argument
1037 return rawv6_seticmpfilter(sk, level, optname, optval, optlen); in compat_rawv6_setsockopt()
1039 if (optname == IPV6_CHECKSUM) in compat_rawv6_setsockopt()
1042 return compat_ipv6_setsockopt(sk, level, optname, in compat_rawv6_setsockopt()
1045 return do_rawv6_setsockopt(sk, level, optname, optval, optlen); in compat_rawv6_setsockopt()
1049 static int do_rawv6_getsockopt(struct sock *sk, int level, int optname, in do_rawv6_getsockopt() argument
1058 switch (optname) { in do_rawv6_getsockopt()
1084 static int rawv6_getsockopt(struct sock *sk, int level, int optname, in rawv6_getsockopt() argument
1094 return rawv6_geticmpfilter(sk, level, optname, optval, optlen); in rawv6_getsockopt()
1096 if (optname == IPV6_CHECKSUM) in rawv6_getsockopt()
1099 return ipv6_getsockopt(sk, level, optname, optval, optlen); in rawv6_getsockopt()
1102 return do_rawv6_getsockopt(sk, level, optname, optval, optlen); in rawv6_getsockopt()
1106 static int compat_rawv6_getsockopt(struct sock *sk, int level, int optname, in compat_rawv6_getsockopt() argument
1115 return rawv6_geticmpfilter(sk, level, optname, optval, optlen); in compat_rawv6_getsockopt()
1117 if (optname == IPV6_CHECKSUM) in compat_rawv6_getsockopt()
1120 return compat_ipv6_getsockopt(sk, level, optname, in compat_rawv6_getsockopt()
1123 return do_rawv6_getsockopt(sk, level, optname, optval, optlen); in compat_rawv6_getsockopt()