Lines Matching refs:reason
205 unsigned short reason; member
225 static struct sock *dn_find_listener(struct sk_buff *skb, unsigned short *reason) in dn_find_listener() argument
327 *reason = ci_err_table[err].reason; in dn_find_listener()
403 unsigned short reason; in dn_nsp_disc_init() local
408 reason = le16_to_cpu(*(__le16 *)skb->data); in dn_nsp_disc_init()
411 scp->discdata_in.opt_status = cpu_to_le16(reason); in dn_nsp_disc_init()
470 unsigned short reason; in dn_nsp_disc_conf() local
475 reason = le16_to_cpu(*(__le16 *)skb->data); in dn_nsp_disc_conf()
484 if (reason == NSP_REASON_DC) in dn_nsp_disc_conf()
486 if (reason == NSP_REASON_NL) in dn_nsp_disc_conf()
690 static int dn_nsp_no_socket(struct sk_buff *skb, unsigned short reason) in dn_nsp_no_socket() argument
699 if ((reason != NSP_REASON_OK) && ((cb->nsp_flags & 0x0c) == 0x08)) { in dn_nsp_no_socket()
703 dn_nsp_return_disc(skb, NSP_DISCINIT, reason); in dn_nsp_no_socket()
707 dn_nsp_return_disc(skb, NSP_DISCCONF, reason); in dn_nsp_no_socket()
724 unsigned short reason = NSP_REASON_NL; in dn_nsp_rx_packet() local
751 sk = dn_find_listener(skb, &reason); in dn_nsp_rx_packet()
806 return dn_nsp_no_socket(skb, reason); in dn_nsp_rx_packet()