Lines Matching defs:rxrpc_connection
524 struct rxrpc_connection { struct
525 struct rxrpc_conn_proto proto;
526 struct rxrpc_local *local; /* Representation of local endpoint */
527 struct rxrpc_peer *peer; /* Remote endpoint */
528 struct rxrpc_net *rxnet; /* Network namespace to which call belongs */
529 struct key *key; /* Security details */
530 struct list_head attend_link; /* Link in local->conn_attend_q */
532 refcount_t ref;
533 atomic_t active; /* Active count for service conns */
534 struct rcu_head rcu;
535 struct list_head cache_link;
537 unsigned char act_chans; /* Mask of active channels */
538 struct rxrpc_channel {
550 } channels[RXRPC_MAXCALLS];
552 struct timer_list timer; /* Conn event timer */
553 struct work_struct processor; /* connection event processor */
554 struct work_struct destructor; /* In-process-context destroyer */
555 struct rxrpc_bundle *bundle; /* Client connection bundle */
556 struct rb_node service_node; /* Node in peer->service_conns */
557 struct list_head proc_link; /* link in procfs list */
558 struct list_head link; /* link in master connection list */
559 struct sk_buff_head rx_queue; /* received conn-level packets */
560 struct page_frag_cache tx_data_alloc; /* Tx DATA packet allocation */
561 struct mutex tx_data_alloc_lock;
563 struct mutex security_lock; /* Lock for security management */
564 const struct rxrpc_security *security; /* applied security module */
565 union {
579 rwlock_t security_use_lock; /* Security use/modification lock */
580 struct sk_buff *tx_response; /* Response packet to be transmitted */
582 unsigned long flags;
583 unsigned long events;
584 unsigned long idle_timestamp; /* Time at which last became idle */
585 spinlock_t state_lock; /* state-change lock */
586 enum rxrpc_conn_proto_state state; /* current state of connection */
587 enum rxrpc_call_completion completion; /* Completion condition */
588 s32 abort_code; /* Abort code of connection abort */
589 int debug_id; /* debug ID for printks */
590 rxrpc_serial_t tx_serial; /* Outgoing packet serial number counter */
591 unsigned int hi_serial; /* highest serial number received */
592 rxrpc_serial_t pmtud_probe; /* Serial of MTU probe (or 0) */
593 unsigned int pmtud_call; /* ID of call used for probe */
594 u32 service_id; /* Service ID, possibly upgraded */
595 u32 security_level; /* Security level selected */
596 u8 security_ix; /* security type */
597 u8 out_clientflag; /* RXRPC_CLIENT_INITIATED if we are client */
598 u8 bundle_shift; /* Index into bundle->avail_chans */
599 bool exclusive; /* T if conn is exclusive */
600 bool upgrade; /* T if service ID can be upgraded */
601 u16 orig_service_id; /* Originally requested service ID */
602 short error; /* Local error code */