Lines Matching refs:optname
516 static int do_tls_getsockopt(struct sock *sk, int optname, in do_tls_getsockopt() argument
521 switch (optname) { in do_tls_getsockopt()
525 optname == TLS_TX); in do_tls_getsockopt()
534 static int tls_getsockopt(struct sock *sk, int level, int optname, in tls_getsockopt() argument
541 optname, optval, optlen); in tls_getsockopt()
543 return do_tls_getsockopt(sk, optname, optval, optlen); in tls_getsockopt()
683 static int do_tls_setsockopt(struct sock *sk, int optname, sockptr_t optval, in do_tls_setsockopt() argument
688 switch (optname) { in do_tls_setsockopt()
693 optname == TLS_TX); in do_tls_setsockopt()
703 static int tls_setsockopt(struct sock *sk, int level, int optname, in tls_setsockopt() argument
709 return ctx->sk_proto->setsockopt(sk, level, optname, optval, in tls_setsockopt()
712 return do_tls_setsockopt(sk, optname, optval, optlen); in tls_setsockopt()