struct kref kref;
 };
 
-int tls_hw_prot(struct sock *sk);
-int tls_hw_hash(struct sock *sk);
-void tls_hw_unhash(struct sock *sk);
+int tls_toe_bypass(struct sock *sk);
+int tls_toe_hash(struct sock *sk);
+void tls_toe_unhash(struct sock *sk);
 
 void tls_toe_register_device(struct tls_toe_device *device);
 void tls_toe_unregister_device(struct tls_toe_device *device);
 
 #endif
 
        prot[TLS_HW_RECORD][TLS_HW_RECORD] = *base;
-       prot[TLS_HW_RECORD][TLS_HW_RECORD].hash         = tls_hw_hash;
-       prot[TLS_HW_RECORD][TLS_HW_RECORD].unhash       = tls_hw_unhash;
+       prot[TLS_HW_RECORD][TLS_HW_RECORD].hash         = tls_toe_hash;
+       prot[TLS_HW_RECORD][TLS_HW_RECORD].unhash       = tls_toe_unhash;
 }
 
 static int tls_init(struct sock *sk)
 
        tls_build_proto(sk);
 
-       if (tls_hw_prot(sk))
+       if (tls_toe_bypass(sk))
                return 0;
 
        /* The TLS ulp is currently supported only for TCP sockets
 
 static LIST_HEAD(device_list);
 static DEFINE_SPINLOCK(device_spinlock);
 
-static void tls_hw_sk_destruct(struct sock *sk)
+static void tls_toe_sk_destruct(struct sock *sk)
 {
        struct inet_connection_sock *icsk = inet_csk(sk);
        struct tls_context *ctx = tls_get_ctx(sk);
        tls_ctx_free(sk, ctx);
 }
 
-int tls_hw_prot(struct sock *sk)
+int tls_toe_bypass(struct sock *sk)
 {
        struct tls_toe_device *dev;
        struct tls_context *ctx;
                                goto out;
 
                        ctx->sk_destruct = sk->sk_destruct;
-                       sk->sk_destruct = tls_hw_sk_destruct;
+                       sk->sk_destruct = tls_toe_sk_destruct;
                        ctx->rx_conf = TLS_HW_RECORD;
                        ctx->tx_conf = TLS_HW_RECORD;
                        update_sk_prot(sk, ctx);
        return rc;
 }
 
-void tls_hw_unhash(struct sock *sk)
+void tls_toe_unhash(struct sock *sk)
 {
        struct tls_context *ctx = tls_get_ctx(sk);
        struct tls_toe_device *dev;
        ctx->sk_proto->unhash(sk);
 }
 
-int tls_hw_hash(struct sock *sk)
+int tls_toe_hash(struct sock *sk)
 {
        struct tls_context *ctx = tls_get_ctx(sk);
        struct tls_toe_device *dev;
        spin_unlock_bh(&device_spinlock);
 
        if (err)
-               tls_hw_unhash(sk);
+               tls_toe_unhash(sk);
        return err;
 }