aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctputil.h
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2012-06-28 16:01:08 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2012-06-28 16:01:08 +0000
commitb1754ad17b4e48fd6ba57694fc670477e4c5dd48 (patch)
tree0712df9c2d50839440d8ad4fdcb4b1427c4a4fe8 /sys/netinet/sctputil.h
parentdb0cb5be21a165e7ead856ca5602ab9706ddb294 (diff)
downloadsrc-b1754ad17b4e48fd6ba57694fc670477e4c5dd48.tar.gz
src-b1754ad17b4e48fd6ba57694fc670477e4c5dd48.zip
Pass the src and dst address of a received packet explicitly around.
MFC after: 3 days
Notes
Notes: svn path=/head/; revision=237715
Diffstat (limited to 'sys/netinet/sctputil.h')
-rw-r--r--sys/netinet/sctputil.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/netinet/sctputil.h b/sys/netinet/sctputil.h
index 8c4d0a6b00db..3ced6c5c8f37 100644
--- a/sys/netinet/sctputil.h
+++ b/sys/netinet/sctputil.h
@@ -186,7 +186,8 @@ sctp_abort_notification(struct sctp_tcb *, uint8_t, uint16_t,
/* We abort responding to an IP packet for some reason */
void
sctp_abort_association(struct sctp_inpcb *, struct sctp_tcb *, struct mbuf *,
- int, struct sctphdr *, struct mbuf *,
+ int, struct sockaddr *, struct sockaddr *,
+ struct sctphdr *, struct mbuf *,
uint8_t, uint32_t,
uint32_t, uint16_t);
@@ -201,8 +202,9 @@ sctp_abort_an_association(struct sctp_inpcb *, struct sctp_tcb *,
);
void
-sctp_handle_ootb(struct mbuf *, int, int, struct sctphdr *,
- struct sctp_inpcb *,
+sctp_handle_ootb(struct mbuf *, int, int,
+ struct sockaddr *, struct sockaddr *,
+ struct sctphdr *, struct sctp_inpcb *,
uint8_t, uint32_t,
uint32_t, uint16_t);
@@ -241,7 +243,6 @@ struct sockaddr_in6 *
int sctp_cmpaddr(struct sockaddr *, struct sockaddr *);
void sctp_print_address(struct sockaddr *);
-void sctp_print_address_pkt(struct ip *, struct sctphdr *);
int
sctp_release_pr_sctp_chunk(struct sctp_tcb *, struct sctp_tmit_chunk *,