Lines Matching defs:rxrpc_connection
481 struct rxrpc_connection { struct
482 struct rxrpc_conn_proto proto;
483 struct rxrpc_local *local; /* Representation of local endpoint */
484 struct rxrpc_peer *peer; /* Remote endpoint */
485 struct rxrpc_net *rxnet; /* Network namespace to which call belongs */
486 struct key *key; /* Security details */
487 struct list_head attend_link; /* Link in local->conn_attend_q */
489 refcount_t ref;
490 atomic_t active; /* Active count for service conns */
491 struct rcu_head rcu;
492 struct list_head cache_link;
494 unsigned char act_chans; /* Mask of active channels */
495 struct rxrpc_channel {
507 } channels[RXRPC_MAXCALLS];
509 struct timer_list timer; /* Conn event timer */
510 struct work_struct processor; /* connection event processor */
511 struct work_struct destructor; /* In-process-context destroyer */
512 struct rxrpc_bundle *bundle; /* Client connection bundle */
513 struct rb_node service_node; /* Node in peer->service_conns */
514 struct list_head proc_link; /* link in procfs list */
515 struct list_head link; /* link in master connection list */
516 struct sk_buff_head rx_queue; /* received conn-level packets */
517 struct page_frag_cache tx_data_alloc; /* Tx DATA packet allocation */
518 struct mutex tx_data_alloc_lock;
520 struct mutex security_lock; /* Lock for security management */
521 const struct rxrpc_security *security; /* applied security module */
522 union {
529 unsigned long flags;
530 unsigned long events;
531 unsigned long idle_timestamp; /* Time at which last became idle */
532 spinlock_t state_lock; /* state-change lock */
533 enum rxrpc_conn_proto_state state; /* current state of connection */
534 enum rxrpc_call_completion completion; /* Completion condition */
535 s32 abort_code; /* Abort code of connection abort */
536 int debug_id; /* debug ID for printks */
537 rxrpc_serial_t tx_serial; /* Outgoing packet serial number counter */
538 unsigned int hi_serial; /* highest serial number received */
539 rxrpc_serial_t pmtud_probe; /* Serial of MTU probe (or 0) */
540 unsigned int pmtud_call; /* ID of call used for probe */
541 u32 service_id; /* Service ID, possibly upgraded */
542 u32 security_level; /* Security level selected */
543 u8 security_ix; /* security type */
544 u8 out_clientflag; /* RXRPC_CLIENT_INITIATED if we are client */
545 u8 bundle_shift; /* Index into bundle->avail_chans */
546 bool exclusive; /* T if conn is exclusive */
547 bool upgrade; /* T if service ID can be upgraded */
548 u16 orig_service_id; /* Originally requested service ID */
549 short error; /* Local error code */