Lines Matching refs:optname
785 static int do_raw_setsockopt(struct sock *sk, int level, int optname,
788 if (optname == ICMP_FILTER) {
797 static int raw_setsockopt(struct sock *sk, int level, int optname,
801 return ip_setsockopt(sk, level, optname, optval, optlen);
802 return do_raw_setsockopt(sk, level, optname, optval, optlen);
806 static int compat_raw_setsockopt(struct sock *sk, int level, int optname,
810 return compat_ip_setsockopt(sk, level, optname, optval, optlen);
811 return do_raw_setsockopt(sk, level, optname, optval, optlen);
815 static int do_raw_getsockopt(struct sock *sk, int level, int optname,
818 if (optname == ICMP_FILTER) {
827 static int raw_getsockopt(struct sock *sk, int level, int optname,
831 return ip_getsockopt(sk, level, optname, optval, optlen);
832 return do_raw_getsockopt(sk, level, optname, optval, optlen);
836 static int compat_raw_getsockopt(struct sock *sk, int level, int optname,
840 return compat_ip_getsockopt(sk, level, optname, optval, optlen);
841 return do_raw_getsockopt(sk, level, optname, optval, optlen);