Searched defs:so (Results 1 - 25 of 44) sorted by relevance

12

/external/libgsm/src/
H A Dcode.c62 word so[160]; local
64 Gsm_Preprocess (S, s, so);
65 Gsm_LPC_Analysis (S, so, LARc);
66 Gsm_Short_Term_Analysis_Filter (S, LARc, so);
71 so+k*40, /* d [0..39] IN */
/external/qemu/slirp/
H A Dif.c10 int if_queued = 0; /* Number of packets queued so far */
136 if_output(struct socket *so, struct mbuf *ifm) argument
142 DEBUG_ARG("so = %lx", (long)so);
163 if (so == ifq->ifq_so) {
165 ifm->ifq_so = so;
172 if (so && (so->so_iptos & IPTOS_LOWDELAY)) {
179 if (ifq->ifq_so == so) {
180 ifm->ifq_so = so;
[all...]
H A Dip_output.c56 ip_output(struct socket *so, struct mbuf *m0) argument
64 DEBUG_ARG("so = %lx", (long)so);
103 if_output(so, m);
188 if_output(so, m);
H A Dtcp_timer.c49 register struct socket *so; local
54 so = tcb.so_next;
55 if (so)
56 for (; so != &tcb; so = so->so_next)
57 if ((tp = (struct tcpcb *)so->so_tcpcb) &&
170 * keep retransmitting it, it'll keep eating the zeroes, so we keep
208 * so we'll take the next rtt measurement as our srtt;
H A Dsbuf.c69 * (the socket is non-blocking, so we won't hang)
72 sbappend(struct socket *so, struct mbuf *m) argument
77 DEBUG_ARG("so = %lx", (long)so);
92 if (so->so_urgc) {
93 sbappendsb(&so->so_rcv, m);
95 sosendoob(so);
103 if (!so->so_rcv.sb_cc)
104 ret = slirp_send(so, m->m_data, m->m_len, 0);
113 sbappendsb(&so
[all...]
H A Ddebug.c19 /* Carry over one item from main.c so that the tty's restored.
80 * a buffer, depending on "type", so that the stats can be sent over
300 struct socket *so; local
307 for (so = tcb.so_next; so != &tcb; so = so->so_next) {
309 n = sprintf(buff, "tcp[%s]", so->so_tcpcb?tcpstates[so->so_tcpcb->t_state]:"NONE");
314 buff, so
[all...]
H A Dip_icmp.c116 struct socket *so; local
118 if ((so = socreate()) == NULL) goto freeit;
119 if(udp_attach(so) == -1) {
122 sofree(so);
126 so->so_m = m;
127 so->so_faddr = ip->ip_dst;
128 so->so_fport = htons(7);
129 so->so_laddr = ip->ip_src;
130 so->so_lport = htons(9);
131 so
[all...]
H A Dtcp_output.c69 register struct socket *so = tp->t_socket; local
128 if (off < so->so_snd.sb_cc)
137 len = min(so->so_snd.sb_cc, win) - off;
161 if (SEQ_LT(tp->snd_nxt + len, tp->snd_una + so->so_snd.sb_cc))
164 win = sbspace(&so->so_rcv);
180 len + off >= so->so_snd.sb_cc)
208 if (2 * adv >= (long) so->so_rcv.sb_datalen)
223 * and we have not yet done so, or we're retransmitting the FIN,
252 if (so->so_snd.sb_cc && tp->t_timer[TCPT_REXMT] == 0 &&
361 sbcopy(&so
[all...]
H A Dsocket.c15 static void sofcantrcvmore(struct socket *so);
16 static void sofcantsendmore(struct socket *so);
30 struct socket *so; local
32 for (so = head->so_next; so != head; so = so->so_next) {
33 if (so->so_lport == lport &&
34 so->so_laddr.s_addr == laddr.s_addr &&
35 so
54 struct socket *so; local
69 sofree(struct socket *so) argument
88 sopreprbuf(struct socket *so, struct iovec *iov, int *np) argument
155 soread(struct socket *so) argument
215 soreadbuf(struct socket *so, const char *buf, int size) argument
265 sorecvoob(struct socket *so) argument
292 sosendoob(struct socket *so) argument
350 sowrite(struct socket *so) argument
444 sorecvfrom(struct socket *so) argument
548 sosendto(struct socket *so, struct mbuf *m) argument
598 struct socket *so; local
697 soisfconnecting(struct socket *so) argument
705 soisfconnected(struct socket *so) argument
712 sofcantrcvmore(struct socket *so) argument
728 sofcantsendmore(struct socket *so) argument
747 soisfdisconnected(struct socket *so) argument
762 sofwdrain(struct socket *so) argument
[all...]
/external/qemu/slirp-android/
H A Dif.c10 int if_queued = 0; /* Number of packets queued so far */
136 if_output(struct socket *so, struct mbuf *ifm) argument
142 DEBUG_ARG("so = %lx", (long)so);
163 if (so == ifq->ifq_so) {
165 ifm->ifq_so = so;
172 if (so && (so->so_iptos & IPTOS_LOWDELAY)) {
179 if (ifq->ifq_so == so) {
180 ifm->ifq_so = so;
[all...]
H A Dip_output.c56 ip_output(struct socket *so, struct mbuf *m0) argument
64 DEBUG_ARG("so = %lx", (long)so);
103 if_output(so, m);
188 if_output(so, m);
H A Dtcp_timer.c49 register struct socket *so; local
54 so = tcb.so_next;
55 if (so)
56 for (; so != &tcb; so = so->so_next)
57 if ((tp = (struct tcpcb *)so->so_tcpcb) &&
170 * keep retransmitting it, it'll keep eating the zeroes, so we keep
208 * so we'll take the next rtt measurement as our srtt;
H A Dsbuf.c69 * (the socket is non-blocking, so we won't hang)
72 sbappend(struct socket *so, struct mbuf *m) argument
77 DEBUG_ARG("so = %lx", (long)so);
92 if (so->so_urgc) {
93 sbappendsb(&so->so_rcv, m);
95 sosendoob(so);
103 if (!so->so_rcv.sb_cc)
104 ret = slirp_send(so, m->m_data, m->m_len, 0);
113 sbappendsb(&so
[all...]
H A Dtcp_output.c69 register struct socket *so = tp->t_socket; local
128 if (off < so->so_snd.sb_cc)
137 len = min(so->so_snd.sb_cc, win) - off;
161 if (SEQ_LT(tp->snd_nxt + len, tp->snd_una + so->so_snd.sb_cc))
164 win = sbspace(&so->so_rcv);
180 len + off >= so->so_snd.sb_cc)
208 if (2 * adv >= (long) so->so_rcv.sb_datalen)
223 * and we have not yet done so, or we're retransmitting the FIN,
252 if (so->so_snd.sb_cc && tp->t_timer[TCPT_REXMT] == 0 &&
361 sbcopy(&so
[all...]
H A Dip_icmp.c117 struct socket *so; local
122 if ((so = socreate()) == NULL) goto freeit;
123 if(udp_attach(so) == -1) {
126 sofree(so);
130 so->so_m = m;
131 so->so_faddr_ip = ip_geth(ip->ip_dst);
132 so->so_faddr_port = 7;
133 so->so_laddr_ip = ip_geth(ip->ip_src);
134 so->so_laddr_port = 9;
135 so
[all...]
/external/wpa_supplicant/
H A Deap_methods.h70 int eap_peer_method_load(const char *so);
75 static inline int eap_peer_method_load(const char *so) argument
H A Deap_methods.c183 * @so: File path for the shared object file to load
186 int eap_peer_method_load(const char *so) argument
192 handle = dlopen(so, RTLD_LAZY);
195 "'%s': %s", so, dlerror());
203 "eap_peer_method_dynamic_init()", so);
211 "ret %d", so, ret);
219 wpa_printf(MSG_DEBUG, "EAP: Loaded dynamic EAP method: '%s'", so);
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
H A Deap_methods.h75 int eap_peer_method_load(const char *so);
80 static inline int eap_peer_method_load(const char *so) argument
H A Deap_methods.c183 * @so: File path for the shared object file to load
186 int eap_peer_method_load(const char *so) argument
192 handle = dlopen(so, RTLD_LAZY);
195 "'%s': %s", so, dlerror());
203 "eap_peer_method_dynamic_init()", so);
211 "ret %d", so, ret);
219 wpa_printf(MSG_DEBUG, "EAP: Loaded dynamic EAP method: '%s'", so);
/external/ipsec-tools/src/libipsec/
H A Dtest-policy.c155 int so; local
171 if ((so = socket(family, SOCK_DGRAM, 0)) < 0)
179 if (setsockopt(so, proto, optname, policy, len) < 0) {
181 close(so);
187 if (getsockopt(so, proto, optname, getbuf, &len) < 0) {
189 close(so);
202 close(so);
211 close (so);
225 int so; local
242 if ((so
[all...]
H A Dlibpfkey.h68 int so; /* socket */ member in struct:pfkey_send_sa_args
/external/ipsec-tools/src/racoon/
H A Dkmpstat.c95 static int so; variable
108 so = socket(AF_UNIX, SOCK_STREAM, 0);
109 if (so < 0)
112 if (connect(so, (struct sockaddr *)&name, sizeof(name)) < 0) {
113 (void)close(so);
126 if ((len = send(so, combuf->v, combuf->l, 0)) == -1) {
128 (void)close(so);
149 if ((len = recv(so, &h, sizeof(h), MSG_PEEK)) == -1)
168 if ((len = recv(so, p, h.ac_len, 0)) < 0) {
/external/openssl/crypto/pkcs7/
H A Dexample.c22 ASN1_TYPE *so; local
24 so=PKCS7_get_signed_attribute(si,NID_pkcs9_signingTime);
25 if (so->type == V_ASN1_UTCTIME)
26 return so->value.utctime;
49 ASN1_TYPE *so; local
57 so=PKCS7_get_signed_attribute(si,signed_string_nid);
58 if (so != NULL)
60 if (so->type == V_ASN1_OCTET_STRING)
62 os=so->value.octet_string;
117 ASN1_TYPE *so; local
182 ASN1_TYPE *so; local
211 ASN1_TYPE *so; local
281 ASN1_TYPE *so; local
[all...]
/external/bluetooth/bluez/test/
H A Dscotest.c254 struct sco_options so; local
265 len = sizeof(so);
266 if (getsockopt(sk, SOL_SCO, SCO_OPTIONS, &so, &len) < 0) {
274 for (i = 6; i < so.mtu; i++)
283 if (send(sk, buf, so.mtu, 0) <= 0) {
/external/openssl/crypto/
H A Dmem.c7 * The implementation was written so as to conform with Netscapes SSL.
184 void (*so)(long),
192 set_debug_options_func=so;
239 void (**so)(long),
245 if (so != NULL) *so=set_debug_options_func;
270 /* Create a dependency on the value of 'cleanse_ctr' so our memory
272 * this for >2Kb so the overhead doesn't bother us. */
314 /* Create a dependency on the value of 'cleanse_ctr' so our memory
316 * this for >2Kb so th
181 CRYPTO_set_mem_debug_functions(void (*m)(void *,int,const char *,int,int), void (*r)(void *,void *,int,const char *,int,int), void (*f)(void *,int), void (*so)(long), long (*go)(void)) argument
236 CRYPTO_get_mem_debug_functions(void (**m)(void *,int,const char *,int,int), void (**r)(void *,void *,int,const char *,int,int), void (**f)(void *,int), void (**so)(long), long (**go)(void)) argument
[all...]

Completed in 330 milliseconds

12