/*
- * Copyright (c) 2008-2013 Apple Inc. All rights reserved.
+ * Copyright (c) 2008-2016 Apple Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
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);
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_ */