Lines Matching refs:sk_protocol
117 sk->sk_protocol); in mISDN_sock_recvmsg()
133 if ((sk->sk_protocol == ISDN_P_LAPD_TE) || in mISDN_sock_recvmsg()
134 (sk->sk_protocol == ISDN_P_LAPD_NT)) { in mISDN_sock_recvmsg()
176 sk->sk_protocol); in mISDN_sock_sendmsg()
209 if ((sk->sk_protocol == ISDN_P_LAPD_TE) || in mISDN_sock_sendmsg()
210 (sk->sk_protocol == ISDN_P_LAPD_NT)) in mISDN_sock_sendmsg()
244 switch (sk->sk_protocol) { in data_sock_release()
296 if ((sk->sk_protocol & ~ISDN_P_B_MASK) == ISDN_P_B_START) { in data_sock_ioctl_bound()
314 if (sk->sk_protocol != ISDN_P_LAPD_NT) { in data_sock_ioctl_bound()
327 if (sk->sk_protocol != ISDN_P_LAPD_NT in data_sock_ioctl_bound()
328 && sk->sk_protocol != ISDN_P_LAPD_TE) { in data_sock_ioctl_bound()
491 if (sk->sk_protocol < ISDN_P_B_START) { in data_sock_bind()
498 if (csk->sk_protocol >= ISDN_P_B_START) in data_sock_bind()
500 if (IS_ISDN_P_TE(csk->sk_protocol) in data_sock_bind()
501 == IS_ISDN_P_TE(sk->sk_protocol)) in data_sock_bind()
513 switch (sk->sk_protocol) { in data_sock_bind()
520 sk->sk_protocol, maddr); in data_sock_bind()
527 sk->sk_protocol, maddr); in data_sock_bind()
536 sk->sk_protocol, maddr); in data_sock_bind()
544 _pms(sk)->ch.protocol = sk->sk_protocol; in data_sock_bind()
610 sk->sk_protocol = protocol; in data_sock_create()
766 sk->sk_protocol = protocol; in base_sock_create()