Lines Matching refs:DN_SK

159 	struct dn_scp *scp = DN_SK(sk);  in dn_find_list()
178 struct dn_scp *scp = DN_SK(sk); in check_port()
187 struct dn_scp *scp = DN_SK(sk); in port_alloc()
208 struct dn_scp *scp = DN_SK(sk); in dn_hash_sock()
268 struct dn_scp *scp = DN_SK(sk); in dn_rehash_sock()
275 DN_SK(sk)->addrloc = 0; in dn_rehash_sock()
276 list = listen_hash(&DN_SK(sk)->addr); in dn_rehash_sock()
375 struct dn_scp *scp = DN_SK(sk); in dn_sklist_find_listener()
414 scp = DN_SK(sk); in dn_find_by_skb()
434 struct dn_scp *scp = DN_SK(sk); in dn_destruct()
487 scp = DN_SK(sk); in dn_alloc_sock()
540 struct dn_scp *scp = DN_SK(sk); in dn_keepalive()
561 struct dn_scp *scp = DN_SK(sk); in dn_destroy_timer()
603 struct dn_scp *scp = DN_SK(sk); in dn_destroy_sock()
721 struct dn_scp *scp = DN_SK(sk); in dn_bind()
782 struct dn_scp *scp = DN_SK(sk); in dn_auto_bind()
818 struct dn_scp *scp = DN_SK(sk); in dn_confirm_accept()
860 struct dn_scp *scp = DN_SK(sk); in dn_wait_run()
903 struct dn_scp *scp = DN_SK(sk); in __dn_connect()
984 struct dn_scp *scp = DN_SK(sk); in dn_check_state()
1080 if (sk->sk_state != TCP_LISTEN || DN_SK(sk)->state != DN_O) { in dn_accept()
1108 DN_SK(newsk)->state = DN_CR; in dn_accept()
1109 DN_SK(newsk)->addrrem = cb->src_port; in dn_accept()
1110 DN_SK(newsk)->services_rem = cb->services; in dn_accept()
1111 DN_SK(newsk)->info_rem = cb->info; in dn_accept()
1112 DN_SK(newsk)->segsize_rem = cb->segsize; in dn_accept()
1113 DN_SK(newsk)->accept_mode = DN_SK(sk)->accept_mode; in dn_accept()
1115 if (DN_SK(newsk)->segsize_rem < 230) in dn_accept()
1116 DN_SK(newsk)->segsize_rem = 230; in dn_accept()
1118 if ((DN_SK(newsk)->services_rem & NSP_FC_MASK) == NSP_FC_NONE) in dn_accept()
1119 DN_SK(newsk)->max_window = decnet_no_fc_max_cwnd; in dn_accept()
1122 memcpy(&(DN_SK(newsk)->addr), &(DN_SK(sk)->addr), sizeof(struct sockaddr_dn)); in dn_accept()
1128 DN_SK(newsk)->addr.sdn_flags &= ~SDF_WILD; in dn_accept()
1130 skb_pull(skb, dn_username2sockaddr(skb->data, skb->len, &(DN_SK(newsk)->addr), &type)); in dn_accept()
1131 skb_pull(skb, dn_username2sockaddr(skb->data, skb->len, &(DN_SK(newsk)->peer), &type)); in dn_accept()
1132 *(__le16 *)(DN_SK(newsk)->peer.sdn_add.a_addr) = cb->src; in dn_accept()
1133 *(__le16 *)(DN_SK(newsk)->addr.sdn_add.a_addr) = cb->dst; in dn_accept()
1139 dn_access_copy(skb, &(DN_SK(newsk)->accessdata)); in dn_accept()
1142 dn_user_copy(skb, &(DN_SK(newsk)->conndata_in)); in dn_accept()
1145 DN_SK(newsk)->peer.sdn_flags |= SDF_PROXY; in dn_accept()
1148 DN_SK(newsk)->peer.sdn_flags |= SDF_UICPROXY; in dn_accept()
1152 memcpy(&(DN_SK(newsk)->conndata_out), &(DN_SK(sk)->conndata_out), in dn_accept()
1154 memcpy(&(DN_SK(newsk)->discdata_out), &(DN_SK(sk)->discdata_out), in dn_accept()
1167 if (DN_SK(newsk)->accept_mode == ACC_IMMED) in dn_accept()
1180 struct dn_scp *scp = DN_SK(sk); in dn_getname()
1206 struct dn_scp *scp = DN_SK(sk); in dn_poll()
1218 struct dn_scp *scp = DN_SK(sk); in dn_ioctl()
1276 if ((DN_SK(sk)->state != DN_O) || (sk->sk_state == TCP_LISTEN)) in dn_listen()
1295 struct dn_scp *scp = DN_SK(sk); in dn_shutdown()
1347 struct dn_scp *scp = DN_SK(sk); in __dn_setsockopt()
1534 struct dn_scp *scp = DN_SK(sk); in __dn_getsockopt()
1677 struct dn_scp *scp = DN_SK(sk); in dn_recvmsg()
1874 struct dn_scp *scp = DN_SK(sk); in dn_current_mss()
1912 struct dn_scp *scp = DN_SK(sk); in dn_sendmsg()
2261 struct dn_scp *scp = DN_SK(sk); in dn_socket_format_entry()