1 2345678910...
|
(npcb->mss & 255));
/* Send a SYN|ACK together with the MSS option. */
tcp_enqueue(npcb, NULL, 0, TCP_SYN | TCP_ACK, 0, (u8_t *)&optdata, 4);
return tcp_output(npcb);
}
Language: C (c) 2001-2004 Swedish Institute of Computer Science. LOC: 792 Savannah NonGNU : lwIP - A Lightweight TCP/IP stack (project search) : .../lwip/lwip/src/core/tcp_in.c
|
#define RTP_SEQ_IS_GREATER(seq1,seq2)\
((uint16_t)((uint16_t)(seq1) - (uint16_t)(seq2))< (uint16_t)(1<<15))
/* put an rtp packet in queue. It is called by rtp_parse()*/
void rtp_putq(queue_t *q, mblk_t *mp)
{
Language: C License: LGPL (C) 2001 Simon MORLAT simon.morlat@linphone.org LOC: 948 Savannah NonGNU : LinPhone - Telephony on Linux (project search) : .../linphone/linphone/oRTP/src/rtpsession.c
|
rtcp_common_header_t *rtcp;
mblk_t *tmp,*m=mp;
queue_t *q;
int rc=0;
rtcp = (rtcp_common_header_t*)mp->b_wptr;
Language: C License: LGPL (C) 2001 Simon MORLAT simon.morlat@linphone.org... LOC: 304 Savannah NonGNU : LinPhone - Telephony on Linux (project search) : .../linphone/linphone/oRTP/src/rtcp.c
|
{
/* no data, no length, flags, copy=1, no optdata, no optdatalen */
return tcp_enqueue(pcb, NULL, 0, flags, 1, NULL, 0);
}
/**
Language: C (c) 2001-2004 Swedish Institute of Computer Science. LOC: 515 Savannah NonGNU : lwIP - A Lightweight TCP/IP stack (project search) : .../lwip/lwip/src/core/tcp_out.c
|
#include "utils.h"
#include "rtpsession_priv.h"
void split_and_queue(queue_t *q, int maxrqsz, mblk_t *mp, rtp_header_t *rtp, int *discarded)
{
mblk_t *mdata,*tmp;
Language: C License: LGPL (C) 2001 Simon MORLAT simon.morlat@linphone.org LOC: 141 Savannah NonGNU : LinPhone - Telephony on Linux (project search) : .../linphone/linphone/oRTP/src/rtpparse.c
|
* list. This is called a "pbuf chain".
*
* Multiple packets may be queued, also using this singly linked list.
* This is called a "packet queue".
*
Language: C (c) 2001-2004 Swedish Institute of Computer Science. LOC: 370 Savannah NonGNU : lwIP - A Lightweight TCP/IP stack (project search) : .../lwip/lwip/src/core/pbuf.c
|
connections. */
#define MEMP_NUM_TCP_PCB_LISTEN 8
/* MEMP_NUM_TCP_SEG: the number of simultaneously queued TCP
segments. */
#define MEMP_NUM_TCP_SEG 16
Language: C (c) 2001-2003 Swedish Institute of Computer Science. LOC: 114 Savannah NonGNU : lwIP - A Lightweight TCP/IP stack (project search) : .../lwip/contrib/ports/msvc6/lwipopts.h
|
tcp_segs_free(pcb->unsent);
}
#if TCP_QUEUE_OOSEQ
if (pcb->ooseq != NULL) {
tcp_segs_free(pcb->ooseq);
Language: C (c) 2001-2004 Swedish Institute of Computer Science. LOC: 858 Savannah NonGNU : lwIP - A Lightweight TCP/IP stack (project search) : .../lwip/lwip/src/core/tcp.c
|
Print the current time, the length of time the system has been up,\n\
the number of users on the system, and the average number of jobs\n\
in the run queue over the last 1, 5 and 15 minutes.\n\
If FILE is not specified, use %s. %s as FILE is common.\n\
\n\
Language: C License: GPL (C) 1992-2002, 2004-2007 Free Software Foundation, Inc. LOC: 186 Savannah GNU : GNU Core Utilities (project search) : .../coreutils/coreutils/coreutils/src/uptime.c
|
u16_t acked;
u16_t snd_buf; /* Available buffer space for sending (in bytes). */
#define TCP_SNDQUEUELEN_OVERFLOW (0xffff-3)
u16_t snd_queuelen; /* Available buffer space for sending (in tcp_segs). */
/* These are ordered by sequence number: */
Language: C (c) 2001-2004 Swedish Institute of Computer Science. LOC: 374 Savannah NonGNU : lwIP - A Lightweight TCP/IP stack (project search) : .../lwip/src/include/lwip/tcp.h
|
enum filetype type);
static void print_with_commas (void);
static void queue_directory (char const *name, char const *realname,
bool command_line_arg);
static void sort_files (void);
Language: C License: GPL LOC: 3244 Savannah GNU : GNU Core Utilities (project search) : .../coreutils/coreutils/coreutils/src/ls.c
|
* an err_t value if the packet couldn't be sent
*
* @note Returning ERR_MEM here if a DMA queue of your MAC is full can lead to
* strange results. You might consider waiting for space in the DMA queue
* to become availale since the stack doesn't retry to send a packet
Language: C (c) 2001-2004 Swedish Institute of Computer Science. LOC: 132 Savannah NonGNU : lwIP - A Lightweight TCP/IP stack (project search) : .../lwip/lwip/src/netif/ethernetif.c
|
extern Lisp_Object Vw32_scroll_lock_modifier;
extern unsigned int w32_key_to_modifier (int key);
/* Event queue */
#define EVENT_QUEUE_SIZE 50
static INPUT_RECORD event_queue[EVENT_QUEUE_SIZE];
Language: C License: GPL (C) 1992, 1993, 1995, 2001, 2002, 2003, 2004, LOC: 515 Savannah GNU : emacs (project search) : .../emacs/emacs/emacs/src/w32inevt.c
|
};
struct etharp_entry {
#if ARP_QUEUEING
/**
* Pointer to queue of pending outgoing packets on this ARP entry.
Language: C (c) 2003-2004 Axon Digital Design B.V., The Netherlands.... LOC: 576 Savannah NonGNU : lwIP - A Lightweight TCP/IP stack (project search) : .../lwip/lwip/src/netif/etharp.c
|
* want to give user interface processing precedence over the
* network. To achieve this, the socket IO messages are used to
* set status indicators. When the GUI is idle (message queue is
* empty), we go back and check those indicators. It is at this
* point that the actual network IO occurs.
Language: C (c) 1997 David Cole LOC: 722 SourceForge : Dave's Telnet (project search) : .../dtelnet/dtelnet/dtelnet.c
|
NPMODE_DROP, /* silently drop the packet */
NPMODE_ERROR, /* return an error */
NPMODE_QUEUE /* save it up for later. */
};
/*
Language: C (c) 1989 Carnegie Mellon University.... LOC: 185 Savannah NonGNU : lwIP - A Lightweight TCP/IP stack (project search) : .../lwip/src/netif/ppp/ppp.h
|
#ifdef OSIP_MT
ff->qislocked = osip_mutex_init ();
/*INIT SEMA TO BLOCK ON GET() WHEN QUEUE IS EMPTY */
ff->qisempty = osip_sem_init (0);
#endif
Language: C License: LGPL (C) 2001,2002,2003,2004,2005,2006,2007 Aymeric MOIZARD jack@atosc.org LOC: 165 Savannah GNU : The oSIP library (project search) : .../osip/osip/src/osip2/port_fifo.c
|
#include "ortp/str_utils.h"
#include "utils.h"
void qinit(queue_t *q){
mblk_init(&q->_q_stopper);
q->_q_stopper.b_next=&q->_q_stopper;
Language: C License: LGPL (C) 2001 Simon MORLAT simon.morlat@linphone.org LOC: 249 Savannah NonGNU : LinPhone - Telephony on Linux (project search) : .../linphone/linphone/oRTP/src/str_utils.c
|
/* This loops until the accept() fails, trying to start new
** connections as fast as possible so we don't overrun the
** listen queue.
*/
for (;;)
Language: C Copyright 1995,1998,1999,2000 by Jef Poskanzer . LOC: 1367 SourceForge : Jaguar for Python (project search) : .../jaguar/thttpd/thttpd/src/thttpd.c
|
#endif
/**
* MEMP_NUM_TCP_SEG: the number of simultaneously queued TCP segments.
* (requires the LWIP_TCP option)
*/
Language: C (c) 2001-2004 Swedish Institute of Computer Science. LOC: 527 Savannah NonGNU : lwIP - A Lightweight TCP/IP stack (project search) : .../lwip/src/include/lwip/opt.h
|
* belonging to the same packet.
*
* For non-queue packet chains this is the invariant:
* p->tot_len == p->len + (p->next? p->next->tot_len: 0)
*/
Language: C (c) 2001-2004 Swedish Institute of Computer Science. LOC: 48 Savannah NonGNU : lwIP - A Lightweight TCP/IP stack (project search) : .../lwip/src/include/lwip/pbuf.h
|
}
void
gv_view_area_queue_draw(GvViewArea *view)
{
gv_manager_set_busy( gv_get_manager(), TRUE );
Language: C (c) 2000, Atlantis Scientific Inc. (www.atlsci.com) LOC: 2513 SourceForge : OpenEV (project search) : .../openev/openev/gvviewarea.c
|
nh++;
}
/* Check for any emacs-generated input in the queue since
it won't be detected in the wait */
if (detect_input_pending ())
Language: C License: GPL (C) 1992, 1995, 1999, 2000, 2001, 2002, 2003, 2004, LOC: 1583 Savannah GNU : emacs (project search) : .../emacs/emacs/emacs/src/w32proc.c
|
*
* Revision 1.58 2001/01/30 15:18:01 warmerda
* added queue_task() access from python
*
* Revision 1.57 2000/10/06 16:48:56 warmerda
Language: C (c) 2000, Atlantis Scientific Inc. (www.atlsci.com) LOC: 3615 SourceForge : OpenEV (project search) : .../openev/openev/pymod/gvmodule.c
|
}
/* The new line just read in may be larger than other lines
already in main memory; push it back in the queue until we
encounter a line larger than it. Optimize for the common
case where the new line is smallest. */
Language: C License: GPL (C) 1988, 1991-2007 Free Software Foundation, Inc. LOC: 2300 Savannah GNU : GNU Core Utilities (project search) : .../coreutils/coreutils/coreutils/src/sort.c
|
1 2345678910...
|