X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/3e170ce000f1506b7b5d2c5c7faec85ceabb573d..4d15aeb193b2c68f1d38666c317f8d3734f5f083:/bsd/netinet/udp_var.h diff --git a/bsd/netinet/udp_var.h b/bsd/netinet/udp_var.h index c82931b50..2eb1e0806 100644 --- a/bsd/netinet/udp_var.h +++ b/bsd/netinet/udp_var.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2013 Apple Inc. All rights reserved. + * Copyright (c) 2008-2016 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * @@ -167,8 +167,8 @@ extern void udp_ctlinput(int, struct sockaddr *, void *); extern int udp_ctloutput(struct socket *, struct sockopt *); extern void udp_init(struct protosw *, struct domain *); extern void udp_input(struct mbuf *, int); -extern int udp_connectx_common(struct socket *, int, struct sockaddr_list **, - struct sockaddr_list **, struct proc *, uint32_t, sae_associd_t, +extern int udp_connectx_common(struct socket *, int, struct sockaddr *, + struct sockaddr *, struct proc *, uint32_t, sae_associd_t, sae_connid_t *, uint32_t, void *, uint32_t, struct uio*, user_ssize_t *); extern void udp_notify(struct inpcb *inp, int errno); extern int udp_shutdown(struct socket *so); @@ -178,6 +178,10 @@ extern lck_mtx_t *udp_getlock(struct socket *, int); extern void udp_get_ports_used(u_int32_t, int, u_int32_t, bitstr_t *); extern uint32_t udp_count_opportunistic(unsigned int, u_int32_t); extern uint32_t udp_find_anypcb_byaddr(struct ifaddr *); + +extern void udp_fill_keepalive_offload_frames(struct ifnet *, + struct ifnet_keepalive_offload_frame *, u_int32_t, size_t, u_int32_t *); + __END_DECLS #endif /* BSD_KERNEL_PRIVATE */ #endif /* _NETINET_UDP_VAR_H_ */