Lines Matching refs:socket

56 #include <sys/socket.h>
117 * The socket used to communicate with the multicast routing daemon.
119 VNET_DEFINE(struct socket *, ip_mrouter);
124 int (*ip_mrouter_set)(struct socket *, struct sockopt *);
125 int (*ip_mrouter_get)(struct socket *, struct sockopt *);
134 int (*ip_rsvp_vif)(struct socket *, struct sockopt *);
135 void (*ip_rsvp_force_done)(struct socket *);
252 /* Check the minimum TTL for socket. */
257 struct socket *so;
334 * jailed raw socket will drop datagram.
373 * Allow raw socket in jail to receive multicast;
382 * If this raw socket has multicast state, and we
383 * have received a multicast, check if this socket
391 * through unconditionally to the raw socket.
449 rip_output(struct mbuf *m, struct socket *so, ...)
623 * Raw IP socket option processing.
626 * only be created by a privileged process, and as such, socket option
627 * operations to manage system properties on any raw socket were allowed to
634 * Unilaterally checking priv_check() here breaks normal IP socket option
637 * When adding new socket options here, make sure to add access control
643 rip_ctloutput(struct socket *so, struct sockopt *sopt)
881 rip_attach(struct socket *so, int proto, struct thread *td)
914 rip_detach(struct socket *so)
938 rip_dodisconnect(struct socket *so, struct inpcb *inp)
956 rip_abort(struct socket *so)
967 rip_close(struct socket *so)
978 rip_disconnect(struct socket *so)
993 rip_bind(struct socket *so, struct sockaddr *nam, struct thread *td)
1029 rip_connect(struct socket *so, struct sockaddr *nam, struct thread *td)
1056 rip_shutdown(struct socket *so)
1070 rip_send(struct socket *so, int flags, struct mbuf *m, struct sockaddr *nam,