Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
tipc_port Struct Reference

#include <port.h>

Data Fields

voidusr_handle
 
spinlock_tlock
 
int connected
 
u32 conn_type
 
u32 conn_instance
 
u32 conn_unacked
 
int published
 
u32 congested
 
u32 max_pkt
 
u32 ref
 
struct tipc_msg phdr
 
struct list_head port_list
 
u32(* dispatcher )(struct tipc_port *, struct sk_buff *)
 
void(* wakeup )(struct tipc_port *)
 
struct user_portuser_port
 
struct list_head wait_list
 
u32 waiting_pkts
 
u32 sent
 
u32 acked
 
struct list_head publications
 
u32 pub_count
 
u32 probing_state
 
u32 probing_interval
 
struct timer_list timer
 
struct tipc_node_subscr subscription
 

Detailed Description

struct tipc_port - TIPC port structure : pointer to additional user-defined information about port : pointer to spinlock for controlling access to port : non-zero if port is currently connected to a peer port : TIPC type used when connection was established : TIPC instance used when connection was established : number of unacknowledged messages received from peer port : non-zero if port has one or more associated names : non-zero if cannot send because of link or port congestion : maximum packet size "hint" used when building messages sent by port unique reference to port in TIPC object registry : preformatted message header used when sending messages : adjacent ports in TIPC's global list of ports : ptr to routine which handles received messages : ptr to routine to call when port is no longer congested : ptr to user port associated with port (if any) : adjacent ports in list of ports waiting on link congestion : : # of non-empty messages sent by port : # of non-empty message acknowledgements from connected port's peer : list of publications for port : total # of publications port has made during its lifetime : : : : "node down" subscription used to terminate failed connections

Definition at line 125 of file port.h.

Field Documentation

u32 acked

Definition at line 144 of file port.h.

u32 congested

Definition at line 133 of file port.h.

u32 conn_instance

Definition at line 130 of file port.h.

Definition at line 129 of file port.h.

u32 conn_unacked

Definition at line 131 of file port.h.

int connected

Definition at line 128 of file port.h.

u32(* dispatcher)(struct tipc_port *, struct sk_buff *)

Definition at line 138 of file port.h.

spinlock_t* lock

Definition at line 127 of file port.h.

u32 max_pkt

Definition at line 134 of file port.h.

Definition at line 136 of file port.h.

Definition at line 137 of file port.h.

u32 probing_interval

Definition at line 148 of file port.h.

u32 probing_state

Definition at line 147 of file port.h.

u32 pub_count

Definition at line 146 of file port.h.

struct list_head publications

Definition at line 145 of file port.h.

int published

Definition at line 132 of file port.h.

u32 ref

Definition at line 135 of file port.h.

u32 sent

Definition at line 143 of file port.h.

struct tipc_node_subscr subscription

Definition at line 150 of file port.h.

Definition at line 149 of file port.h.

Definition at line 140 of file port.h.

void* usr_handle

Definition at line 126 of file port.h.

struct list_head wait_list

Definition at line 141 of file port.h.

u32 waiting_pkts

Definition at line 142 of file port.h.

void(* wakeup)(struct tipc_port *)

Definition at line 139 of file port.h.


The documentation for this struct was generated from the following file: