| /src/sys/sys/ |
| socketvar.h | 86 struct sockbuf { struct 88 struct mowner *sb_mowner; /* who owns data for this sockbuf */ 108 #define SB_MAX (256*1024) /* default for max chars in sockbuf */ 168 struct sockbuf so_snd; /* send buffer */ 169 struct sockbuf so_rcv; /* receive buffer */ 270 void sbappend(struct sockbuf *, struct mbuf *); 271 void sbappendstream(struct sockbuf *, struct mbuf *); 272 int sbappendaddr(struct sockbuf *, const struct sockaddr *, struct mbuf *, 274 int sbappendaddrchain(struct sockbuf *, const struct sockaddr *, 276 int sbappendcontrol(struct sockbuf *, struct mbuf *, struct mbuf *) [all...] |
| /src/external/bsd/openldap/lib/liblber/ |
| Makefile | 13 memory.c options.c sockbuf.c stdio.c 19 MAN= lber-decode.3 lber-encode.3 lber-memory.3 lber-sockbuf.3 \
|
| /src/sys/kern/ |
| uipc_socket2.c | 531 sbwait(struct sockbuf *sb) 558 sowakeup(struct socket *so, struct sockbuf *sb, int code) 615 * Socket buffer (struct sockbuf) utility routines. 699 * Allot mbufs to a sockbuf. 704 sbreserve(struct sockbuf *sb, u_long cc, struct socket *so) 734 sbrelease(struct sockbuf *sb, struct socket *so) 771 sblastrecordchk(struct sockbuf *sb, const char *where) 791 sblastmbufchk(struct sockbuf *sb, const char *where) 842 sbappend(struct sockbuf *sb, struct mbuf *m) 886 sbappendstream(struct sockbuf *sb, struct mbuf *m [all...] |
| uipc_socket.c | 1116 sbsync(struct sockbuf *sb, struct mbuf *nextrecord) 1147 * We depend on the way that records are added to the sockbuf by sbappend*. In 1153 * splx() while doing the actual copy to user space. Although the sockbuf is 1155 * consistency of the sockbuf during that time. 1481 * Sockbuf must be consistent here (points to current mbuf, 1483 * we must note any additions to the sockbuf when we 1592 * Keep sockbuf locked against other readers. 1713 struct sockbuf *sb, asb; 1726 * Clear most of the sockbuf structure, but leave some of the 1730 sizeof(*sb) - offsetof(struct sockbuf, sb_startzero)) [all...] |
| /src/external/bsd/openldap/dist/include/ |
| ldap_pvt.h | 298 struct sockbuf; /* avoid pulling in <lber.h> */ 299 LDAP_F (int) ldap_pvt_sasl_install LDAP_P(( struct sockbuf *, void * )); 300 LDAP_F (void) ldap_pvt_sasl_remove LDAP_P(( struct sockbuf * )); 384 LDAP_F (int) ldap_pvt_sasl_generic_install LDAP_P(( Sockbuf *sb, 386 LDAP_F (void) ldap_pvt_sasl_generic_remove LDAP_P(( Sockbuf *sb )); 458 LDAP_F (int) ldap_pvt_tls_accept LDAP_P(( Sockbuf *sb, void *ctx_arg )); 459 LDAP_F (int) ldap_pvt_tls_connect LDAP_P(( struct ldap *ld, Sockbuf *sb, const char *host )); 460 LDAP_F (int) ldap_pvt_tls_inplace LDAP_P(( Sockbuf *sb )); 461 LDAP_F (void *) ldap_pvt_tls_sb_ctx LDAP_P(( Sockbuf *sb ));
|
| lber.h | 160 /* get/set options for Sockbuf */ 174 typedef struct sockbuf Sockbuf; 181 Sockbuf *sbiod_sb; 475 Sockbuf *sb, 485 Sockbuf *sb, 505 Sockbuf *sb, 561 * LBER sockbuf.c 564 LBER_F( Sockbuf * ) 570 Sockbuf *sb )) [all...] |
| /src/external/bsd/openldap/dist/libraries/liblber/ |
| lber-int.h | 88 * ber_rwptr Read/write cursor for Sockbuf I/O. 105 * When output to a Sockbuf: 107 * When input from a Sockbuf: 132 struct sockbuf { struct 208 /* sockbuf.c */ 211 ber_int_sb_init LDAP_P(( Sockbuf *sb )); 214 ber_int_sb_close LDAP_P(( Sockbuf *sb )); 217 ber_int_sb_destroy LDAP_P(( Sockbuf *sb )); 220 ber_int_sb_read LDAP_P(( Sockbuf *sb, void *buf, ber_len_t len )); 223 ber_int_sb_write LDAP_P(( Sockbuf *sb, void *buf, ber_len_t len )) [all...] |
| /src/sys/netinet/ |
| accf_http.c | 62 static int sbfull(struct sockbuf *sb); 141 sbfull(struct sockbuf *sb)
|
| sctputil.h | 202 int sbappendaddr_nocheck(struct sockbuf *, const struct sockaddr *,
|
| sctputil.c | 2965 sbappendaddr_nocheck(struct sockbuf *sb, const struct sockaddr *asa, 3261 struct sockbuf *old_sb, *new_sb;
|
| /src/external/bsd/nsd/dist/ |
| nsd.c | 538 char sockbuf[INET6_ADDRSTRLEN + 6 + 1]; local 560 addrport2str((void*)&udp[i].addr.ai_addr, sockbuf, sizeof(sockbuf)); 563 VERBOSITY(3, (LOG_NOTICE, fmt, sockbuf, "udp", serverbuf)); 565 addrport2str((void*)&tcp[i].addr.ai_addr, sockbuf, sizeof(sockbuf)); 568 VERBOSITY(3, (LOG_NOTICE, fmt, sockbuf, "tcp", serverbuf));
|
| /src/external/bsd/openldap/dist/servers/slapd/back-ldap/ |
| monitor.c | 409 Sockbuf *sockbuf; local 426 ldap_get_option( ld, LDAP_OPT_SOCKBUF, (void **)&sockbuf ); 427 ber_sockbuf_ctrl( sockbuf, LBER_SB_OPT_GET_FD, &socket );
|
| /src/sys/miscfs/fifofs/ |
| fifo_vnops.c | 679 struct sockbuf *sb;
|