Searched refs:s16_t (Results 26 - 50 of 76) sorted by relevance

1234

/barrelfish-2018-10-04/lib/lwip2/src/core/ipv6/
H A Dip6_frag.c74 #define IPV6_FRAG_REQROOM ((s16_t)(sizeof(struct ip6_reass_helper) - IP6_FRAG_HLEN))
163 if (pbuf_header_force(p, (s16_t)((u8_t*)p->payload - (u8_t*)IPV6_FRAG_HDRREF(ipr->iphdr)))) {
533 u8_t hdrerr = pbuf_header(next_pbuf, -(s16_t)(IPV6_FRAG_REQROOM));
550 u8_t hdrerr = pbuf_header(ipr->p, -(s16_t)(IPV6_FRAG_REQROOM));
595 if (pbuf_header_force(p, (s16_t)((u8_t*)p->payload - (u8_t*)iphdr_ptr))) {
/barrelfish-2018-10-04/lib/lwip2/src/netif/ppp/
H A Dvj.c415 if (pbuf_header(np, -(s16_t)hlen)){
424 if (pbuf_header(np, -(s16_t)hlen)) {
626 if (pbuf_header(n0, -(s16_t)vjlen)) {
650 if (pbuf_header(np, -(s16_t)cs->cs_hlen)) {
670 if (pbuf_header(n0, (s16_t)cs->cs_hlen)) {
H A Dpppoe.c213 pbuf_header(p, -(s16_t)2);
224 pbuf_header(ph, -(s16_t)PPPOE_HEADERLEN); /* hide PPPoE header */
264 pbuf_header(pb, -(s16_t)PPPOE_HEADERLEN);
662 if (pbuf_header(pb, -(s16_t)sizeof(struct eth_hdr)) != 0) {
695 if (pbuf_header(pb, -(s16_t)(PPPOE_HEADERLEN)) != 0) {
726 if (pbuf_header(pb, (s16_t)(sizeof(struct eth_hdr))) != 0) {
1042 pbuf_header(pb, (s16_t)sizeof(struct eth_hdr));
1136 if (pbuf_header(pb, (s16_t)(PPPOE_HEADERLEN)) != 0) {
H A Dpppol2tp.c184 pbuf_header(ph, -(s16_t)PPPOL2TP_OUTPUT_DATA_HEADER_LEN); /* hide L2TP header */
224 pbuf_header(pb, -(s16_t)PPPOL2TP_OUTPUT_DATA_HEADER_LEN);
437 if (pbuf_header(p, -(s16_t)hlen) != 0) {
472 pbuf_header(p, -(s16_t)2);
657 if (pbuf_header(p, -(s16_t)(avplen + sizeof(avpflags) + sizeof(vendorid) + sizeof(attributetype)) ) != 0) {
1104 if (pbuf_header(pb, (s16_t)PPPOL2TP_OUTPUT_DATA_HEADER_LEN) != 0) {
H A Dppp.c787 pbuf_header(pb, -(s16_t)sizeof(protocol));
863 pbuf_header(pb, -(s16_t)1);
866 pbuf_header(pb, -(s16_t)2);
960 pbuf_header(pb, (s16_t)sizeof(protocol));
/barrelfish-2018-10-04/include/lwip2/netif/ppp/
H A Dvj.c415 if (pbuf_header(np, -(s16_t)hlen)){
424 if (pbuf_header(np, -(s16_t)hlen)) {
626 if (pbuf_header(n0, -(s16_t)vjlen)) {
650 if (pbuf_header(np, -(s16_t)cs->cs_hlen)) {
670 if (pbuf_header(n0, (s16_t)cs->cs_hlen)) {
H A Dpppoe.c213 pbuf_header(p, -(s16_t)2);
224 pbuf_header(ph, -(s16_t)PPPOE_HEADERLEN); /* hide PPPoE header */
264 pbuf_header(pb, -(s16_t)PPPOE_HEADERLEN);
662 if (pbuf_header(pb, -(s16_t)sizeof(struct eth_hdr)) != 0) {
695 if (pbuf_header(pb, -(s16_t)(PPPOE_HEADERLEN)) != 0) {
726 if (pbuf_header(pb, (s16_t)(sizeof(struct eth_hdr))) != 0) {
1042 pbuf_header(pb, (s16_t)sizeof(struct eth_hdr));
1136 if (pbuf_header(pb, (s16_t)(PPPOE_HEADERLEN)) != 0) {
H A Dpppol2tp.c184 pbuf_header(ph, -(s16_t)PPPOL2TP_OUTPUT_DATA_HEADER_LEN); /* hide L2TP header */
224 pbuf_header(pb, -(s16_t)PPPOL2TP_OUTPUT_DATA_HEADER_LEN);
437 if (pbuf_header(p, -(s16_t)hlen) != 0) {
472 pbuf_header(p, -(s16_t)2);
657 if (pbuf_header(p, -(s16_t)(avplen + sizeof(avpflags) + sizeof(vendorid) + sizeof(attributetype)) ) != 0) {
1104 if (pbuf_header(pb, (s16_t)PPPOL2TP_OUTPUT_DATA_HEADER_LEN) != 0) {
H A Dppp.c787 pbuf_header(pb, -(s16_t)sizeof(protocol));
863 pbuf_header(pb, -(s16_t)1);
866 pbuf_header(pb, -(s16_t)2);
960 pbuf_header(pb, (s16_t)sizeof(protocol));
/barrelfish-2018-10-04/lib/lwip/src/core/ipv6/
H A Dicmp6.c111 (s16_t) type));
/barrelfish-2018-10-04/lib/lwip/src/core/
H A Draw.c81 s16_t proto;
H A Dsys.c53 s16_t timeflag;
H A Dtcp_in.c113 if (pbuf_header(p, -((s16_t) (IPH_HL(iphdr) * 4)))
778 s16_t m;
1010 m = (s16_t) (tcp_ticks - pcb->rttest);
1106 if (pbuf_header(p, (s16_t) - off)) {
1111 if (pbuf_header(inseg.p, (s16_t) - off)) {
/barrelfish-2018-10-04/lib/lwip2/src/core/
H A Dstats.c145 s16_t i;
H A Dtcp_in.c171 pbuf_header(p, -(s16_t)hdrlen_bytes); /* cannot fail */
187 pbuf_header(p, -(s16_t)tcphdr_opt1len);
202 pbuf_header(p->next, -(s16_t)opt2len);
1004 s16_t m;
1241 m = (s16_t)(tcp_ticks - pcb->rttest);
1335 if (pbuf_header(p, (s16_t)-off)) {
1340 if (pbuf_header(inseg.p, (s16_t)-off)) {
/barrelfish-2018-10-04/include/lwip/lwip/
H A Dapi.h143 s16_t recv_avail;
H A Dtcp.h319 s16_t rtime;
326 s16_t sa, sv; /* @todo document this */
328 s16_t rto; /* retransmission time-out */
594 s16_t tcp_pcbs_sane(void);
/barrelfish-2018-10-04/lib/net/
H A Darp.c167 if (p->len < SIZEOF_ETH_HDR || pbuf_header(p, (s16_t)-SIZEOF_ETH_HDR)) {
174 pbuf_header(p, (s16_t)SIZEOF_ETH_HDR);
/barrelfish-2018-10-04/lib/lwip2/src/barrelfish/
H A Dpbuf_barrelfish.c149 pbuf_header_impl(struct pbuf *p, s16_t header_size_increment, u8_t force)
245 pbuf_header(struct pbuf *p, s16_t header_size_increment)
255 pbuf_header_force(struct pbuf *p, s16_t header_size_increment)
/barrelfish-2018-10-04/lib/lwip/src/netif/
H A Detharp.c550 (s16_t) i));
691 (s16_t) sizeof(struct etharp_hdr)));
1113 S16_F "\n", (void *) q, (s16_t) i));
1300 if (pbuf_header(p, -(s16_t) sizeof(struct eth_hdr))) {
/barrelfish-2018-10-04/lib/lwip2/src/apps/snmp/
H A Dsnmp_mib2_udp.c60 static s16_t
H A Dsnmp_threadsync.c63 static s16_t
/barrelfish-2018-10-04/lib/lwip2/src/core/ipv4/
H A Detharp.c465 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_update_arp_entry: updating stable entry %"S16_F"\n", (s16_t)i));
1059 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_query: queued packet %p on ARP entry %"S16_F"\n", (void *)q, (s16_t)i));
1070 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_query: dropped previously queued packet %p for ARP entry %"S16_F"\n", (void *)q, (s16_t)i));
1075 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_query: queued packet %p on ARP entry %"S16_F"\n", (void *)q, (s16_t)i));
/barrelfish-2018-10-04/include/lwip2/lwip/
H A Dapi.h256 s16_t linger;
/barrelfish-2018-10-04/include/lwip2/lwip/apps/
H A Dsnmp_core.h184 typedef s16_t (*node_instance_get_value_method)(struct snmp_node_instance*, void*);

Completed in 132 milliseconds

1234