Displaying 12 results from an estimated 12 matches for "abuf".
Did you mean:
_buf
2012 Dec 20
3
[Bridge] [PATCH 1/3] iproute2: distinguish permanent and temporary mdb entries
...ntf(stderr, "Usage: bridge mdb { add | del } dev DEV port PORT grp GROUP [permanent | temp]\n");
fprintf(stderr, " bridge mdb {show} [ dev DEV ]\n");
exit(-1);
}
@@ -53,13 +53,15 @@ static void print_mdb_entry(FILE *f, int ifindex, struct br_mdb_entry *e)
SPRINT_BUF(abuf);
if (e->addr.proto == htons(ETH_P_IP))
- fprintf(f, "bridge %s port %s group %s\n", ll_index_to_name(ifindex),
+ fprintf(f, "bridge %s port %s group %s %s\n", ll_index_to_name(ifindex),
ll_index_to_name(e->ifindex),
- inet_ntop(AF_INET, &e->addr.u.ip4,...
2004 Aug 06
2
Re: PATCH: increase network congestion resilience
...the logic of
actually sending the buffers to another function, and also
exploit it to do some flow control.
It is working in my site since a year without a glitch.
It's something like (for old icecast version):
<p>+int send_client_queue(client_t *client, int maxlag)
+{
+ refbuf_t *abuf;
+ long bytes, sbytes;
+ time_t now = time(NULL);
+
+ if (client->last_sent < (now - maxlag * 2)) {
+ client->con->error = 1; /* lame client or DoS */
+ return 1;
+ }
+ abuf = refbuf_queue_remove(&client->queue);
+ while (abuf) {
+ if (client->p...
2009 Feb 24
3
Polycom Spectralink 8002 Configuration
...callgroup=1
pickupgroup=1
accountcode=Home
nat=no
Syslog:
Feb 23 20:25:06 192.168.3.123 Jan 1 00:18:24.57 0090.7a0a.13f3
(192.168.003.123) [0007] Call start, AP 0014.d1c2.70fe (-32 dBm)
Feb 23 20:25:09 192.168.3.123 Jan 1 00:18:26.87 0090.7a0a.13f3
(192.168.003.123) [0008] Number Abufs: 26
Feb 23 20:25:09 192.168.3.123 Jan 1 00:18:26.87 0090.7a0a.13f3
(192.168.003.123) [0009] Number Fbufs: 2
Feb 23 20:25:09 192.168.3.123 Jan 1 00:18:26.88 0090.7a0a.13f3
(192.168.003.123) [000a] Max Number Abufs: 359
Feb 23 20:25:09 192.168.3.123 Jan 1 00:18:26.88 0090.7a0a.13f3
(192.168.00...
2004 Aug 06
1
Icecast2?
...lso at http://mcrg.uib.es:8000/live.ogg
<p>It's configured with a prebuffering of 5 seconds, and a maxlag of 10 seconds.
If a refbuf for a given client exceeds 10 seconds, and it's not a partial
packets, it is silently discarded and removed. The "core" is shown below:
if(abuf->timestamp > 0 && /* only if has timestamp */
client->pos == 0 && /* give a chance to partial packets */
abuf->timestamp < (now - maxlag) /* packet too delayed, discard */ ) {
/* almost a no-op */
printf("DEBUG: discarding %d bytes from queue!!! LA...
2004 Aug 06
2
Icecast2?
On 19/02/02 18:09, Likai Liu shaped the electrons to say:
> >It's partially done in the patch I've sent you, completelly done in my
> >current version... I can send you the second patch, you will save some
> > work.
>
> how is the calculation being done? do you extract the bitrate from the
> stream data, or do you use a different method? I'd advocate *that*
2012 Dec 10
0
[Bridge] [PATCH v5] iproute2: add mdb sub-command to bridge
...tr);
+ for (i = RTA_DATA(attr); RTA_OK(i, rem); i = RTA_NEXT(i, rem)) {
+ port_ifindex = RTA_DATA(i);
+ fprintf(f, "%s ", ll_index_to_name(*port_ifindex));
+ }
+
+ fprintf(f, "\n");
+}
+
+static void print_mdb_entry(FILE *f, int ifindex, struct br_mdb_entry *e)
+{
+ SPRINT_BUF(abuf);
+
+ if (e->addr.proto == htons(ETH_P_IP))
+ fprintf(f, "bridge %s port %s group %s\n", ll_index_to_name(ifindex),
+ ll_index_to_name(e->ifindex),
+ inet_ntop(AF_INET, &e->addr.u.ip4, abuf, sizeof(abuf)));
+ else
+ fprintf(f, "bridge %s port %s group %s\n", l...
2004 Aug 06
0
[PATCH] Add per-listener and per-mount connection time limits.
...name = strdup (mountinfo->dumpfile);
+ if (mountinfo->max_listener_time != NULL)
+ src->max_listener_time = mountinfo->max_listener_time;
}
if(src->dumpfilename != NULL) {
***************
*** 191,196 ****
--- 194,200 ----
refbuf_t *refbuf, *abuf;
int data_done;
+ int client_connect_time;
int listeners = 0;
#ifdef USE_YP
***************
*** 202,207 ****
--- 206,214 ----
#endif
long queue_limit;
+ int global_listener_time_limit;
+ int mount_listener_time_limit;
+ int listener_time_limit;
ice_...
2012 Dec 05
2
[Bridge] [PATCH net-next v3] bridge: export multicast database via netlink
V3: drop debugging printk's
update selinux perm table as well
V2: drop patch 1/2, export ifindex directly
Redesign netlink attributes
Improve netlink seq check
Handle IPv6 addr as well
This patch exports bridge multicast database via netlink
message type RTM_GETMDB. Similar to fdb, but currently bridge-specific.
We may need to support modify multicast database too
2005 Oct 30
0
HOW TO WRITE A DOUBLE EXPONENTIAL FUNCTION
...with nonlinear quantile regresion model
the double exponential function is
Y=( ab1978*ab1979*ab1980*ab1981*ab1982*ab1983*ab1984*ab1985*ab1986*ab1987*ab1988*ab1989* ab1990* ab1991*ab1992*ab1993*ab1994*
6670*ab7175*ab7680*ab8185*ab8690*ab9193*abgg*abgf*abgu*abgj*abgd*abfg*abff*abfu*abfj*abfd*abug*abuf*abuj*abud*
abjg*abjf*abju*abjj*abjd*abdg*abdf*abdu*abdj*abdd*EXP(-C1*cbgg*cbgf*cbgu*cbgj*cbgd*cbfg*cbff*cbfu*cbfj*cbfd*cbug*cbuf*cbuj*cbud*cbjg*cbjf*cbju*cbjj*cbjd*
cbdg*cbdf*cbdu*cbdj*cbdd*TIMELAG)*(1-EXP(-c2*TIMELAG)) )/sqcite;
and ab1978,ab1979,ab1980,ab1981,ab1982,ab1983,ab1984,ab1985,a...
2012 Dec 07
3
[Bridge] [PATCH net-next v4] bridge: export multicast database via netlink
From: Cong Wang <amwang at redhat.com>
V4: remove some useless #include
some coding style fix
V3: drop debugging printk's
update selinux perm table as well
V2: drop patch 1/2, export ifindex directly
Redesign netlink attributes
Improve netlink seq check
Handle IPv6 addr as well
This patch exports bridge multicast database via netlink
message type RTM_GETMDB.
2012 Nov 27
3
[Bridge] [RFC PATCH 1/2] bridge: export port_no and port_id via IFA_INFO_DATA
Based on net-next.
This patch exports port->port_no port->port_id in the end of IFA_INFO_DATA.
Cc: Herbert Xu <herbert at gondor.apana.org.au>
Cc: Stephen Hemminger <shemminger at vyatta.com>
Cc: "David S. Miller" <davem at davemloft.net>
Cc: Thomas Graf <tgraf at suug.ch>
Cc: Jesper Dangaard Brouer <brouer at redhat.com>
Signed-off-by: Cong Wang
2004 Aug 06
2
improved error.log output --diff
...probably disconnected");
+ DEBUG0("Client has unrecoverable error catching up. Client has probably disconnected, %s", client->con->ip);
client->con->error = 1;
data_done = 1;
refbuf_release(abuf);
@@ -472,7 +472,7 @@
}
}
else {
- DEBUG0("Client had unrecoverable error with new data, probably due to client disconnection");
+ DEBUG0("Client had unrecoverable error with new data, probab...