/external/syslinux/core/lwip/src/core/ |
tcp.c | 79 /* The TCP PCB lists. */ 93 /** An array with all (non-temporary) PCB lists, mainly used for smaller code size */ 122 * Closes the TX side of a connection held by the PCB. 130 * The pcb is then automatically freed in tcp_slowtmr(). It is therefore 133 * @param pcb the tcp_pcb to close 135 * another err_t if closing failed and pcb is not freed 138 tcp_close_shutdown(struct tcp_pcb *pcb, u8_t rst_on_unacked_data) 142 if (rst_on_unacked_data && (pcb->state != LISTEN)) { 143 if ((pcb->refused_data != NULL) || (pcb->rcv_wnd != TCP_WND)) 612 struct tcp_pcb *pcb; local 752 struct tcp_pcb *pcb, *prev; local 995 struct tcp_pcb *pcb = tcp_active_pcbs; local 1121 struct tcp_pcb *pcb, *inactive; local 1154 struct tcp_pcb *pcb, *inactive; local 1182 struct tcp_pcb *pcb; local 1592 struct tcp_pcb *pcb; local 1622 struct tcp_pcb *pcb; local [all...] |
raw.c | 59 * Determine if in incoming IP packet is covered by a RAW PCB 63 * finds a corresponding RAW PCB and calls the corresponding receive 66 * @param p pbuf to be demultiplexed to a RAW PCB. 68 * @return - 1 if the packet has been eaten by a RAW PCB receive 78 struct raw_pcb *pcb, *prev; local 89 pcb = raw_pcbs; 92 while ((eaten == 0) && (pcb != NULL)) { 93 if ((pcb->protocol == proto) && 94 (ip_addr_isany(&pcb->local_ip) || 95 ip_addr_cmp(&(pcb->local_ip), ¤t_iphdr_dest))) 337 struct raw_pcb *pcb; local [all...] |
tcp_in.c | 75 static err_t tcp_process(struct tcp_pcb *pcb); 76 static void tcp_receive(struct tcp_pcb *pcb); 77 static void tcp_parseopt(struct tcp_pcb *pcb); 79 static err_t tcp_listen_input(struct tcp_pcb_listen *pcb); 80 static err_t tcp_timewait_input(struct tcp_pcb *pcb); 94 struct tcp_pcb *pcb, *prev; local 182 for(pcb = tcp_active_pcbs; pcb != NULL; pcb = pcb->next) [all...] |
udp.c | 75 * finds a corresponding UDP PCB and hands over the pbuf to the pcbs 76 * recv function. If no pcb is found or the datagram is incorrect, the 79 * @param p pbuf to be demultiplexed to a UDP PCB. 87 struct udp_pcb *pcb, *prev; local 136 pcb = NULL; 138 the dhcp module, no other UDP pcb may use the local UDP port DHCP_CLIENT_PORT */ 142 if ((inp->dhcp != NULL) && (inp->dhcp->pcb != NULL)) { 145 - inp->dhcp->pcb->remote == ANY or iphdr->src */ 146 if ((ip_addr_isany(&inp->dhcp->pcb->remote_ip) || 147 ip_addr_cmp(&(inp->dhcp->pcb->remote_ip), ¤t_iphdr_src))) 932 struct udp_pcb *pcb; local [all...] |
tcp_out.c | 79 static void tcp_output_segment(struct tcp_seg *seg, struct tcp_pcb *pcb); 85 * @param pcb tcp pcb for which to send a packet (used to initialize tcp_hdr) 92 tcp_output_alloc_header(struct tcp_pcb *pcb, u16_t optlen, u16_t datalen, 101 tcphdr->src = htons(pcb->local_port); 102 tcphdr->dest = htons(pcb->remote_port); 104 tcphdr->ackno = htonl(pcb->rcv_nxt); 106 tcphdr->wnd = htons(pcb->rcv_ann_wnd); 111 pcb->rcv_ann_right_edge = pcb->rcv_nxt + pcb->rcv_ann_wnd [all...] |
netif.c | 324 struct tcp_pcb *pcb; local 331 pcb = tcp_active_pcbs; 332 while (pcb != NULL) { 333 /* PCB bound to current local interface address? */ 334 if (ip_addr_cmp(&(pcb->local_ip), &(netif->ip_addr)) 337 && !ip_addr_islinklocal(&(pcb->local_ip)) 341 struct tcp_pcb *next = pcb->next; 342 LWIP_DEBUGF(NETIF_DEBUG | LWIP_DBG_STATE, ("netif_set_ipaddr: aborting TCP pcb %p\n", (void *)pcb)); 343 tcp_abort(pcb); [all...] |
dhcp.c | 149 static void dhcp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, ip_addr_t *addr, u16_t port); 316 udp_sendto_if(dhcp->pcb, dhcp->p_out, IP_ADDR_BROADCAST, DHCP_SERVER_PORT, netif); 663 if (dhcp->pcb != NULL) { 664 udp_remove(dhcp->pcb); 673 /* allocate UDP PCB */ 674 dhcp->pcb = udp_new(); 675 if (dhcp->pcb == NULL) { 676 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_start(): could not obtain pcb\n")); 679 dhcp->pcb->so_options |= SOF_BROADCAST; 680 /* set up local and remote port for the pcb */ 712 struct udp_pcb *pcb; local [all...] |
pbuf.c | 110 struct tcp_pcb* pcb; local 118 for (pcb = tcp_active_pcbs; NULL != pcb; pcb = pcb->next) { 119 if (NULL != pcb->ooseq) { 120 /** Free the ooseq pbufs of one PCB only */ 122 tcp_segs_free(pcb->ooseq); 123 pcb->ooseq = NULL; [all...] |
/device/linaro/bootloader/edk2/StdLib/Include/Ipf/machine/ |
pcb.h | 1 /* $NetBSD: pcb.h,v 1.1 2006/04/07 14:21:18 cherry Exp $ */
29 * $FreeBSD: src/sys/ia64/include/pcb.h,v 1.16 2004/08/16 19:05:08 marcel Exp $
39 * PCB: process control block
42 struct pcb {
struct 69 void makectx(struct trapframe *, struct pcb *);
70 /*void restorectx(struct pcb *) __dead2;*/
71 int swapctx(struct pcb *old, struct pcb *new);
73 void ia32_restorectx(struct pcb *);
74 void ia32_savectx(struct pcb *);
[all...] |
cpu.h | 108 paddr_t ci_curpcb; /* PA of current HW PCB */
109 struct pcb *ci_idle_pcb; /* our idle PCB */
|
/external/syslinux/core/lwip/src/include/lwip/ |
raw.h | 50 /** Function prototype for raw pcb receive callback functions. 52 * @param pcb the raw_pcb which received data 60 typedef u8_t (*raw_recv_fn)(void *arg, struct raw_pcb *pcb, struct pbuf *p, 64 /* Common members of all PCB types */ 80 void raw_remove (struct raw_pcb *pcb); 81 err_t raw_bind (struct raw_pcb *pcb, ip_addr_t *ipaddr); 82 err_t raw_connect (struct raw_pcb *pcb, ip_addr_t *ipaddr); 84 void raw_recv (struct raw_pcb *pcb, raw_recv_fn recv, void *recv_arg); 85 err_t raw_sendto (struct raw_pcb *pcb, struct pbuf *p, ip_addr_t *ipaddr); 86 err_t raw_send (struct raw_pcb *pcb, struct pbuf *p) [all...] |
tcp_impl.h | 68 void tcp_abandon (struct tcp_pcb *pcb, int reset); 69 err_t tcp_send_empty_ack(struct tcp_pcb *pcb); 70 void tcp_rexmit (struct tcp_pcb *pcb); 71 void tcp_rexmit_rto (struct tcp_pcb *pcb); 72 void tcp_rexmit_fast (struct tcp_pcb *pcb); 73 u32_t tcp_update_rcv_ann_wnd(struct tcp_pcb *pcb); 79 * - the TF_NODELAY flag is set (nagle algorithm turned off for this pcb) or 80 * - the only unsent segment is at least pcb->mss bytes long (or there is more 187 /** Flags used on input processing, not on pcb->flags 196 #define TCP_EVENT_ACCEPT(pcb,err,ret) ret = lwip_tcp_event((pcb)->callback_arg, (pcb), [all...] |
tcp.h | 53 * connection can be accepted on a listening pcb. 56 * @param newpcb The new connection pcb 67 * @param tpcb The connection pcb which received data 78 * This also means that the pcb has now space available to send new data. 81 * @param tpcb The connection pcb for which data has been acknowledged 94 * @param tpcb tcp pcb 101 /** Function prototype for tcp error callback functions. Called when the pcb 104 * @note The corresponding pcb is already freed when this callback is called! 107 * @param err Error code to indicate why the pcb has been closed 113 /** Function prototype for tcp connected callback functions. Called when a pcb [all...] |
udp.h | 73 /** Function prototype for udp pcb receive callback functions 74 * addr and port are in same byte order as in the pcb 82 * @param pcb the udp_pcb which received data 87 typedef void (*udp_recv_fn)(void *arg, struct udp_pcb *pcb, struct pbuf *p, 92 /* Common members of all PCB types */ 95 /* Protocol specific PCB members */ 124 void udp_remove (struct udp_pcb *pcb); 125 err_t udp_bind (struct udp_pcb *pcb, ip_addr_t *ipaddr, 127 err_t udp_connect (struct udp_pcb *pcb, ip_addr_t *ipaddr, 129 void udp_disconnect (struct udp_pcb *pcb); [all...] |
snmp.h | 194 void snmp_insert_udpidx_tree(struct udp_pcb *pcb); 195 void snmp_delete_udpidx_tree(struct udp_pcb *pcb); 326 #define snmp_insert_udpidx_tree(pcb) 327 #define snmp_delete_udpidx_tree(pcb)
|
/system/bt/stack/pan/ |
pan_main.cc | 95 tPAN_CONN* pcb; local 105 ** Allocate PCB and store the parameters 262 pcb = pan_get_pcb_by_handle(handle); 263 if (pcb) { 276 if (pcb->con_state == PAN_STATE_CONNECTED) { 280 pcb->prv_src_uuid = pcb->src_uuid; 281 pcb->prv_dst_uuid = pcb->dst_uuid; 283 if (pcb->src_uuid == UUID_SERVCLASS_NAP & 353 tPAN_CONN* pcb; local 453 tPAN_CONN* pcb; local 547 tPAN_CONN *pcb, *dst_pcb; local [all...] |
pan_api.cc | 269 tPAN_CONN* pcb; local 297 pcb = pan_get_pcb_by_addr(rem_bda); 301 if ((pan_cb.num_conns > 1) || (pan_cb.num_conns && (!pcb))) { 325 if (pan_cb.num_conns && pan_cb.active_role == PAN_ROLE_CLIENT && !pcb) { 347 if (!pcb) pcb = pan_allocate_pcb(rem_bda, BNEP_INVALID_HANDLE); 348 if (!pcb) { 355 if (pcb->con_state == PAN_STATE_IDLE) { 357 } else if (pcb->con_state == PAN_STATE_CONNECTED) { 358 pcb->con_flags |= PAN_FLAGS_CONN_COMPLETED 400 tPAN_CONN* pcb; local 506 tPAN_CONN* pcb; local 603 tPAN_CONN* pcb; local 644 tPAN_CONN* pcb; local [all...] |
pan_utils.cc | 182 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && 183 pan_cb.pcb[i].handle == handle) 188 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && 189 pan_cb.pcb[i].rem_bda == p_bda) 194 if (pan_cb.pcb[i].con_state == PAN_STATE_IDLE) { 195 memset(&(pan_cb.pcb[i]), 0, sizeof(tPAN_CONN)); 196 pan_cb.pcb[i].rem_bda = p_bda; 197 pan_cb.pcb[i].handle = handle; 198 return &(pan_cb.pcb[i]); 217 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE & [all...] |
/external/syslinux/core/lwip/src/api/ |
api_msg.c | 78 recv_raw(void *arg, struct raw_pcb *pcb, struct pbuf *p, 116 buf->port = pcb->protocol; 144 recv_udp(void *arg, struct udp_pcb *pcb, struct pbuf *p, 154 LWIP_UNUSED_ARG(pcb); /* only used for asserts... */ 155 LWIP_ASSERT("recv_udp must have a pcb argument", pcb != NULL); 158 LWIP_ASSERT("recv_udp: recv for wrong pcb!", conn->pcb.udp == pcb); 216 recv_tcp(void *arg, struct tcp_pcb *pcb, struct pbuf *p, err_t err 415 struct tcp_pcb *pcb; local [all...] |
sockets.c | 850 remote_addr = &sock->conn->pcb.raw->remote_ip; 854 remote_port = sock->conn->pcb.udp->remote_port; 860 err = sock->conn->last_err = raw_sendto(sock->conn->pcb.raw, p, remote_addr); 864 err = sock->conn->last_err = udp_sendto_chksum(sock->conn->pcb.udp, p, 867 err = sock->conn->last_err = udp_sendto(sock->conn->pcb.udp, p, [all...] |
/external/mesa3d/src/gallium/drivers/ilo/core/ |
ilo_state_urb.h | 69 uint32_t pcb[5]; member in struct:ilo_state_urb
|
/frameworks/base/media/java/android/media/ |
IAudioService.aidl | 124 IAudioPolicyCallback pcb, int sdk); 169 in IAudioPolicyCallback pcb, boolean hasFocusListener, boolean isFocusPolicy); 171 oneway void unregisterAudioPolicyAsync(in IAudioPolicyCallback pcb); 173 int setFocusPropertiesForPolicy(int duckingBehavior, in IAudioPolicyCallback pcb); 202 in IAudioPolicyCallback pcb);
|
/frameworks/base/services/core/java/com/android/server/audio/ |
MediaFocusControl.java | 392 for (IAudioPolicyCallback pcb : mFocusFollowers) { 393 if (pcb.asBinder().equals(ff.asBinder())) { 412 for (IAudioPolicyCallback pcb : mFocusFollowers) { 413 if (pcb.asBinder().equals(ff.asBinder())) { 414 mFocusFollowers.remove(pcb); 450 * @param pcb non null 452 void notifyExtPolicyCurrentFocusAsync(IAudioPolicyCallback pcb) { 453 final IAudioPolicyCallback pcb2 = pcb; 479 for (IAudioPolicyCallback pcb : mFocusFollowers) { 482 pcb.notifyAudioFocusGrant(afi, requestResult) [all...] |
/external/mesa3d/src/gallium/drivers/ilo/ |
ilo_render_dynamic.c | 235 void *pcb; local 238 gen6_push_constant_buffer(r->builder, total_size, &pcb); 246 memcpy(pcb, cbuf->cso[0].user_buffer, cbuf0_size); 248 memcpy(pcb, cbuf->cso[0].user_buffer, 250 memset(pcb + cbuf->cso[0].info.size, 0, 254 pcb += cbuf0_size; 258 memcpy(pcb, &vec->clip, clip_state_size); 276 void *pcb; local 279 gen6_push_constant_buffer(r->builder, cbuf0_size, &pcb); 283 memcpy(pcb, cbuf->cso[0].user_buffer, cbuf0_size) [all...] |
ilo_render_media.c | 185 const uint32_t pcb = render->state.cs.PUSH_CONSTANT_BUFFER; local 213 gen6_MEDIA_CURBE_LOAD(render->builder, pcb, pcb_size);
|