Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
subscr.c File Reference
#include "core.h"
#include "name_table.h"
#include "port.h"
#include "subscr.h"

Go to the source code of this file.

Data Structures

struct  tipc_subscriber
struct  top_srv


int tipc_subscr_overlap (struct tipc_subscription *sub, u32 found_lower, u32 found_upper)
void tipc_subscr_report_overlap (struct tipc_subscription *sub, u32 found_lower, u32 found_upper, u32 event, u32 port_ref, u32 node, int must)
int tipc_subscr_start (void)
void tipc_subscr_stop (void)

Function Documentation

int tipc_subscr_overlap ( struct tipc_subscription sub,
u32  found_lower,
u32  found_upper 

tipc_subscr_overlap - test for subscription overlap with the given values

Returns 1 if there is overlap, otherwise 0.

Definition at line 115 of file subscr.c.

void tipc_subscr_report_overlap ( struct tipc_subscription sub,
u32  found_lower,
u32  found_upper,
u32  event,
u32  port_ref,
u32  node,
int  must 

tipc_subscr_report_overlap - issue event if there is subscription overlap

Protected by nameseq.lock in name_table.c

Definition at line 134 of file subscr.c.

int tipc_subscr_start ( void  )

Definition at line 489 of file subscr.c.

void tipc_subscr_stop ( void  )

Definition at line 524 of file subscr.c.