Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/socket.h
Show First 20 Lines • Show All 624 Lines • ▼ Show 20 Lines | |||||
#endif | #endif | ||||
int setsockopt(int, int, int, const void *, socklen_t); | int setsockopt(int, int, int, const void *, socklen_t); | ||||
int shutdown(int, int); | int shutdown(int, int); | ||||
int sockatmark(int); | int sockatmark(int); | ||||
int socket(int, int, int); | int socket(int, int, int); | ||||
int socketpair(int, int, int, int *); | int socketpair(int, int, int, int *); | ||||
__END_DECLS | __END_DECLS | ||||
#if defined(__BSD_FORTIFY) | |||||
#include <secure/_socket.h> | |||||
#endif | |||||
#endif /* !_KERNEL */ | #endif /* !_KERNEL */ | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
struct socket; | struct socket; | ||||
struct tcpcb *so_sototcpcb(struct socket *so); | struct tcpcb *so_sototcpcb(struct socket *so); | ||||
struct inpcb *so_sotoinpcb(struct socket *so); | struct inpcb *so_sotoinpcb(struct socket *so); | ||||
struct sockbuf *so_sockbuf_snd(struct socket *); | struct sockbuf *so_sockbuf_snd(struct socket *); | ||||
Show All 32 Lines |