• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/sys/

Lines Matching refs:protocol

89  * Each protocol has a handle initializing one of these structures,
90 * which is used for protocol-protocol and system-protocol communication.
92 * A protocol is called through the pr_init entry before any other.
102 * The protocol is responsible for the space occupied by any the
119 struct domain *pr_domain; /* domain protocol a member of */
120 short pr_protocol; /* protocol number */
122 /* protocol-protocol hooks */
124 /* input to protocol (from below) */
126 /* output to protocol (from above) */
131 /* user-protocol hook */
143 /* sysctl for protocol */
147 int (*pr_lock) (struct socket *so, int locktype, int debug); /* lock function for protocol */
148 int (*pr_unlock) (struct socket *so, int locktype, int debug); /* unlock for protocol */
169 * PR_IMPLOPCL means that the protocol allows sendto without prior connect,
170 * and the protocol understands the MSG_EOF flag. The first property is
176 #define PR_CONNREQUIRED 0x04 /* connection required by protocol */
181 #define PR_PROTOLOCK 0x80 /* protocol takes care of it's own locking */
182 #define PR_PCBLOCK 0x100 /* protocol supports per pcb finer grain locking */
183 #define PR_DISPOSE 0x200 /* protocol requires late lists disposal */
192 * The protocol is responsible for disposal of the mbuf chain m,
197 #define PRU_ATTACH 0 /* attach protocol to up */
198 #define PRU_DETACH 1 /* detach protocol from up */
208 #define PRU_CONTROL 11 /* control operations on protocol */
220 /* end for protocol's internal use */
341 * and arg is a `void *' argument used within a protocol family.
353 #define PRC_UNREACH_PROTOCOL 10 /* dst says bad protocol */
386 * level is an indication of which protocol layer the option is intended.
387 * optname is a protocol dependent socket option request,
389 * The protocol is responsible for disposal of the mbuf chain *optval
413 struct protosw *pffindproto(int family, int protocol, int type);
414 struct protosw *pffindproto_locked(int family, int protocol, int type);