Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | tipc_stats |
struct | tipc_link |
Macros | |
#define | PUSH_FAILED 1 |
#define | PUSH_FINISHED 2 |
#define | INVALID_LINK_SEQ 0x10000 |
#define | WORKING_WORKING 560810u |
#define | WORKING_UNKNOWN 560811u |
#define | RESET_UNKNOWN 560812u |
#define | RESET_RESET 560813u |
#define | MAX_PKT_DEFAULT 1500 |
Functions | |
: link name character string | |
struct tipc_link - TIPC link data structure : network address of link's peer node : media address to use when sending messages over link : link timer : pointer to peer node : adjacent links in bearer's list of links : indicates if link has been started : reference point for triggering link continuity checking : link session # being used by peer end of link : bearer id used by link's peer endpoint : pointer to bearer used by link : minimum link continuity loss needed to reset link [in ms] : link continuity testing interval [in ms] : # of unacknowledged continuity probes needed to reset link : current state of link FSM : indicates if link has been administratively blocked : # of protocol messages link FSM has sent in current state : template for control messages generated by link : convenience pointer to "proto_msg" field : current link priority : outbound message queue congestion thresholds (indexed by user) : # of tunnelled messages expected during link changeover : seq # of last acknowledged message at time of link reset : current maximum packet size for this link : desired maximum packet size for this link : # of probes based on current (max_pkt, max_pkt_target) : # of messages in outbound message queue : ptr to first outbound message in queue : ptr to last outbound message in queue : next sequence number to use for outbound messages : sequence number of most recently retransmitted message : # of identical retransmit requests made by peer : next sequence number to expect for inbound messages : # of messages in inbound message queue : ptr to first inbound message in queue : ptr to last inbound message in queue : # of inbound messages rx'd without ack'ing back to peer : ptr to (single) outbound control message : number of messages to retransmit : sequence number of first message to retransmit : ptr to first unsent outbound message in queue : linked list of ports waiting for link congestion to abate : next identifier to use for outbound fragmented messages : list of partially reassembled inbound message fragments : collects statistics regarding link activity | |
struct tipc_link * | tipc_link_create (struct tipc_node *n_ptr, struct tipc_bearer *b_ptr, const struct tipc_media_addr *media_addr) |
void | tipc_link_delete (struct tipc_link *l_ptr) |
void | tipc_link_changeover (struct tipc_link *l_ptr) |
void | tipc_link_send_duplicate (struct tipc_link *l_ptr, struct tipc_link *dest) |
void | tipc_link_reset_fragments (struct tipc_link *l_ptr) |
int | tipc_link_is_up (struct tipc_link *l_ptr) |
int | tipc_link_is_active (struct tipc_link *l_ptr) |
u32 | tipc_link_push_packet (struct tipc_link *l_ptr) |
void | tipc_link_stop (struct tipc_link *l_ptr) |
struct sk_buff * | tipc_link_cmd_config (const void *req_tlv_area, int req_tlv_space, u16 cmd) |
struct sk_buff * | tipc_link_cmd_show_stats (const void *req_tlv_area, int req_tlv_space) |
struct sk_buff * | tipc_link_cmd_reset_stats (const void *req_tlv_area, int req_tlv_space) |
void | tipc_link_reset (struct tipc_link *l_ptr) |
int | tipc_link_send (struct sk_buff *buf, u32 dest, u32 selector) |
void | tipc_link_send_names (struct list_head *message_list, u32 dest) |
int | tipc_link_send_buf (struct tipc_link *l_ptr, struct sk_buff *buf) |
u32 | tipc_link_get_max_pkt (u32 dest, u32 selector) |
int | tipc_link_send_sections_fast (struct tipc_port *sender, struct iovec const *msg_sect, const u32 num_sect, unsigned int total_len, u32 destnode) |
void | tipc_link_recv_bundle (struct sk_buff *buf) |
int | tipc_link_recv_fragment (struct sk_buff **pending, struct sk_buff **fb, struct tipc_msg **msg) |
void | tipc_link_send_proto_msg (struct tipc_link *l_ptr, u32 msg_typ, int prob, u32 gap, u32 tolerance, u32 priority, u32 acked_mtu) |
void | tipc_link_push_queue (struct tipc_link *l_ptr) |
u32 | tipc_link_defer_pkt (struct sk_buff **head, struct sk_buff **tail, struct sk_buff *buf) |
void | tipc_link_wakeup_ports (struct tipc_link *l_ptr, int all) |
void | tipc_link_set_queue_limits (struct tipc_link *l_ptr, u32 window) |
void | tipc_link_retransmit (struct tipc_link *l_ptr, struct sk_buff *start, u32 retransmits) |
|
read |
tipc_link_send_names - send name table entries to new neighbor
Send routine for bulk delivery of name table messages when contact with a new neighbor occurs. No link congestion checking is performed because name table messages must be delivered. The messages must be small enough not to require fragmentation. Called without any locks held.