Lines Matching refs:sctp_nat_assoc

100     struct sctp_nat_msg *sm, struct sctp_nat_assoc **passoc);
105 static void AddGlobalIPAddresses(struct sctp_nat_msg *sm, struct sctp_nat_assoc *assoc, int direction);
106 static int Add_Global_Address_to_List(struct sctp_nat_assoc *assoc, struct sctp_GlobalAddress *G_addr);
107 static void RmGlobalIPAddresses(struct sctp_nat_msg *sm, struct sctp_nat_assoc *assoc, int direction);
112 struct sctp_nat_msg *sm, struct sctp_nat_assoc *assoc);
115 struct sctp_nat_assoc *assoc, struct sctp_nat_msg *sm);
117 struct sctp_nat_assoc *assoc, struct sctp_nat_msg *sm);
119 struct sctp_nat_assoc *assoc, struct sctp_nat_msg *sm);
121 struct sctp_nat_assoc *assoc, struct sctp_nat_msg *sm);
123 struct sctp_nat_assoc *assoc, struct sctp_nat_msg *sm);
125 struct sctp_nat_assoc *assoc, int sndrply, int direction);
128 static struct sctp_nat_assoc*
130 static struct sctp_nat_assoc*
132 static struct sctp_nat_assoc*
133 FindSctpGlobalClash(struct libalias *la, struct sctp_nat_assoc *Cassoc);
134 static struct sctp_nat_assoc*
136 static struct sctp_nat_assoc*
139 static int AddSctpAssocLocal(struct libalias *la, struct sctp_nat_assoc *assoc, struct in_addr g_addr);
140 static int AddSctpAssocGlobal(struct libalias *la, struct sctp_nat_assoc *assoc);
141 static void RmSctpAssoc(struct libalias *la, struct sctp_nat_assoc *assoc);
142 static void freeGlobalAddressList(struct sctp_nat_assoc *assoc);
145 static void sctp_AddTimeOut(struct libalias *la, struct sctp_nat_assoc *assoc);
146 static void sctp_RmTimeOut(struct libalias *la, struct sctp_nat_assoc *assoc);
147 static void sctp_ResetTimeOut(struct libalias *la, struct sctp_nat_assoc *assoc, int newexp);
154 static void logsctpassoc(struct sctp_nat_assoc *assoc, char *s);
665 struct sctp_nat_assoc *assoc1, *assoc2;
714 struct sctp_nat_assoc *assoc = NULL;
901 TxAbortErrorM(struct libalias *la, struct sctp_nat_msg *sm, struct sctp_nat_assoc *assoc, int sndrply, int direction)
1018 struct sctp_nat_msg *sm, struct sctp_nat_assoc **passoc)
1019 //sctp_PktParser(int direction, struct mbuf *ipak, int ip_hdr_len,struct sctp_nat_msg *sm, struct sctp_nat_assoc *assoc)
1100 *passoc = (struct sctp_nat_assoc *) sn_malloc(sizeof(struct sctp_nat_assoc));
1164 *passoc = (struct sctp_nat_assoc *) sn_malloc(sizeof(struct sctp_nat_assoc));
1308 AddGlobalIPAddresses(struct sctp_nat_msg *sm, struct sctp_nat_assoc *assoc, int direction)
1438 static int Add_Global_Address_to_List(struct sctp_nat_assoc *assoc, struct sctp_GlobalAddress *G_addr)
1469 RmGlobalIPAddresses(struct sctp_nat_msg *sm, struct sctp_nat_assoc *assoc, int direction)
1695 ProcessSctpMsg(struct libalias *la, int direction, struct sctp_nat_msg *sm, struct sctp_nat_assoc *assoc)
1733 ID_process(struct libalias *la, int direction, struct sctp_nat_assoc *assoc, struct sctp_nat_msg *sm)
1801 INi_process(struct libalias *la, int direction, struct sctp_nat_assoc *assoc, struct sctp_nat_msg *sm)
1853 INa_process(struct libalias *la, int direction,struct sctp_nat_assoc *assoc, struct sctp_nat_msg *sm)
1901 UP_process(struct libalias *la, int direction, struct sctp_nat_assoc *assoc, struct sctp_nat_msg *sm)
1944 CL_process(struct libalias *la, int direction,struct sctp_nat_assoc *assoc, struct sctp_nat_msg *sm)
1991 static struct sctp_nat_assoc*
1995 struct sctp_nat_assoc *assoc = NULL;
2028 static struct sctp_nat_assoc*
2029 FindSctpGlobalClash(struct libalias *la, struct sctp_nat_assoc *Cassoc)
2032 struct sctp_nat_assoc *assoc = NULL;
2075 static struct sctp_nat_assoc*
2079 struct sctp_nat_assoc *assoc = NULL;
2116 static struct sctp_nat_assoc*
2120 struct sctp_nat_assoc *assoc = NULL, *lastmatch = NULL;
2158 static struct sctp_nat_assoc*
2162 struct sctp_nat_assoc *assoc = NULL;
2200 AddSctpAssocLocal(struct libalias *la, struct sctp_nat_assoc *assoc, struct in_addr g_addr)
2202 struct sctp_nat_assoc *found;
2257 AddSctpAssocGlobal(struct libalias *la, struct sctp_nat_assoc *assoc)
2259 struct sctp_nat_assoc *found;
2305 RmSctpAssoc(struct libalias *la, struct sctp_nat_assoc *assoc)
2307 // struct sctp_nat_assoc *found;
2345 static void freeGlobalAddressList(struct sctp_nat_assoc *assoc)
2384 sctp_AddTimeOut(struct libalias *la, struct sctp_nat_assoc *assoc)
2405 sctp_RmTimeOut(struct libalias *la, struct sctp_nat_assoc *assoc)
2424 sctp_ResetTimeOut(struct libalias *la, struct sctp_nat_assoc *assoc, int newexp)
2454 struct sctp_nat_assoc *assoc;
2573 static void logsctpassoc(struct sctp_nat_assoc *assoc, char* s)
2618 struct sctp_nat_assoc *assoc = NULL;
2636 struct sctp_nat_assoc *assoc = NULL;
2655 struct sctp_nat_assoc *assoc = NULL;