Searched refs:eb_ptr (Results 1 - 9 of 9) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/cfe/cfe/net/
H A Dnet_ebuf.h67 unsigned int eb_length; /* length of area at eb_ptr */
73 uint8_t *eb_ptr; /* current ptr within pkt */ member in struct:ebuf_s
82 #define ebuf_init_rx(eb) (eb)->eb_ptr = (eb)->eb_data; \
86 #define ebuf_init_tx(eb) (eb)->eb_ptr = (eb)->eb_data; \
94 #define ebuf_prepend(eb,amt) (eb)->eb_ptr -= amt; (eb)->eb_length += (amt)
95 #define ebuf_adjust(eb,amt) (eb)->eb_ptr += (amt); (eb)->eb_length += (amt)
96 #define ebuf_seek(eb,amt) (eb)->eb_ptr += (amt)
100 #define ebuf_ptr(eb) ((eb)->eb_ptr)
108 #define ebuf_append_u8(eb,b) ((eb)->eb_ptr[(eb)->eb_length++]) = (b) ;
117 #define ebuf_append_bytes(eb,b,l) memcpy(&((eb)->eb_ptr[(e
[all...]
H A Dnet_icmp.c109 imsg = ICMPMSG(buf->eb_ptr[0],buf->eb_ptr[1]);
118 icmphdr = txbuf->eb_ptr;
119 ebuf_append_bytes(txbuf,buf->eb_ptr,buf->eb_length);
236 icmphdr = buf->eb_ptr;
286 cksum = ip_chksum(0,buf->eb_ptr,ebuf_length(buf));
H A Dnet_tftp.c635 if (buf->eb_ptr[i] != asuslink[i])
639 tftpipfrom[0]=buf->eb_ptr[16];
640 tftpipfrom[1]=buf->eb_ptr[15];
641 tftpipfrom[2]=buf->eb_ptr[14];
642 tftpipfrom[3]=buf->eb_ptr[13];
670 if (buf->eb_ptr[i] != maclink[i])
674 tftpipfrom[0]=buf->eb_ptr[16];
675 tftpipfrom[1]=buf->eb_ptr[15];
676 tftpipfrom[2]=buf->eb_ptr[14];
677 tftpipfrom[3]=buf->eb_ptr[1
[all...]
H A Dnet_ether.c206 if (buf->eb_ptr[6] & 1) return NULL;
228 if ((p->ep_proto[0] == buf->eb_ptr[12]) &&
229 (p->ep_proto[1] == buf->eb_ptr[13])) {
282 res = cfe_read(eth->eth_devhandle,buf->eb_ptr,ENET_MAX_PKT);
540 * 'eb_ptr' points at new data, length is cleared.
H A Dnet_dhcp.c295 memset(buf->eb_ptr,0,548);
383 memset(buf->eb_ptr,0,548);
H A Dnet_http.c305 memcpy(b->eb_ptr + b->eb_length, tcb->tcb_txbuf, tcb->txlen);
H A Dnet_tcp.c1113 b->eb_ptr + b->eb_length,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/tipc/
H A Deth_media.c102 struct eth_bearer *eb_ptr = (struct eth_bearer *)pt->af_packet_priv; local
110 if (likely(eb_ptr->bearer)) {
116 tipc_recv_msg(buf, eb_ptr->bearer);
133 struct eth_bearer *eb_ptr = &eth_bearers[0]; local
150 for (;(eb_ptr != stop) && eb_ptr->dev && (eb_ptr->dev != dev); eb_ptr++);
151 if (eb_ptr == stop)
153 if (!eb_ptr
199 struct eth_bearer *eb_ptr = &eth_bearers[0]; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/tipc/
H A Deth_media.c102 struct eth_bearer *eb_ptr = (struct eth_bearer *)pt->af_packet_priv; local
110 if (likely(eb_ptr->bearer)) {
116 tipc_recv_msg(buf, eb_ptr->bearer);
133 struct eth_bearer *eb_ptr = &eth_bearers[0]; local
150 for (;(eb_ptr != stop) && eb_ptr->dev && (eb_ptr->dev != dev); eb_ptr++);
151 if (eb_ptr == stop)
153 if (!eb_ptr
199 struct eth_bearer *eb_ptr = &eth_bearers[0]; local
[all...]

Completed in 131 milliseconds