Searched refs:proto (Results 1 - 25 of 76) sorted by relevance

1234

/barrelfish-2018-10-04/lib/lwip/src/core/
H A Dstats.c52 void stats_display_proto(struct stats_proto *proto, char *name) argument
55 LWIP_PLATFORM_DIAG(("xmit: %" STAT_COUNTER_F "\n\t", proto->xmit));
56 LWIP_PLATFORM_DIAG(("recv: %" STAT_COUNTER_F "\n\t", proto->recv));
57 LWIP_PLATFORM_DIAG(("fw: %" STAT_COUNTER_F "\n\t", proto->fw));
58 LWIP_PLATFORM_DIAG(("drop: %" STAT_COUNTER_F "\n\t", proto->drop));
59 LWIP_PLATFORM_DIAG(("chkerr: %" STAT_COUNTER_F "\n\t", proto->chkerr));
60 LWIP_PLATFORM_DIAG(("lenerr: %" STAT_COUNTER_F "\n\t", proto->lenerr));
61 LWIP_PLATFORM_DIAG(("memerr: %" STAT_COUNTER_F "\n\t", proto->memerr));
62 LWIP_PLATFORM_DIAG(("rterr: %" STAT_COUNTER_F "\n\t", proto->rterr));
63 LWIP_PLATFORM_DIAG(("proterr: %" STAT_COUNTER_F "\n\t", proto
[all...]
H A Draw.c81 s16_t proto; local
87 proto = IPH_PROTO(iphdr);
94 if (pcb->protocol == proto) {
332 * @param proto the protocol number of the IPs payload (e.g. IP_PROTO_ICMP)
336 struct raw_pcb *raw_new(u8_t proto) argument
347 pcb->protocol = proto;
/barrelfish-2018-10-04/include/lwip/lwip/
H A Dinet_chksum.h48 u8_t proto, u16_t proto_len);
51 u8_t proto, u16_t proto_len,
H A Dip.h150 #define IPH_PROTO_SET(hdr, proto) (hdr)->_ttl_proto = (htons((proto) | (IPH_TTL(hdr) << 8)))
156 u8_t ttl, u8_t tos, u8_t proto);
158 struct ip_addr *dest, u8_t ttl, u8_t tos, u8_t proto,
162 struct ip_addr *dest, u8_t ttl, u8_t tos, u8_t proto,
167 struct ip_addr *dest, u8_t ttl, u8_t tos, u8_t proto,
H A Draw.h74 struct raw_pcb *raw_new(u8_t proto);
/barrelfish-2018-10-04/include/lwip2/lwip/
H A Dinet_chksum.h81 u16_t inet_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len,
83 u16_t inet_chksum_pseudo_partial(struct pbuf *p, u8_t proto,
88 u16_t ip6_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len,
90 u16_t ip6_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len,
95 u16_t ip_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len,
97 u16_t ip_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len,
H A Dip.h226 #define ip_output(p, src, dest, ttl, tos, proto) \
228 ip6_output(p, ip_2_ip6(src), ip_2_ip6(dest), ttl, tos, proto) : \
229 ip4_output(p, ip_2_ip4(src), ip_2_ip4(dest), ttl, tos, proto))
234 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \
236 ip6_output_if(p, ip_2_ip6(src), ip_2_ip6(dest), ttl, tos, proto, netif) : \
237 ip4_output_if(p, ip_2_ip4(src), ip_2_ip4(dest), ttl, tos, proto, netif))
242 #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \
244 ip6_output_if_src(p, ip_2_ip6(src), ip_2_ip6(dest), ttl, tos, proto, netif) : \
245 ip4_output_if_src(p, ip_2_ip4(src), ip_2_ip4(dest), ttl, tos, proto, netif))
247 #define ip_output_hinted(p, src, dest, ttl, tos, proto, addr_hin
[all...]
H A Dip4.h73 u8_t ttl, u8_t tos, u8_t proto);
75 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif);
77 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif);
80 u8_t ttl, u8_t tos, u8_t proto, u8_t *addr_hint);
84 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
87 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
H A Draw.h92 struct raw_pcb * raw_new (u8_t proto);
93 struct raw_pcb * raw_new_ip_type(u8_t type, u8_t proto);
110 #define raw_new_ip6(proto) raw_new_ip_type(IPADDR_TYPE_V6, proto)
/barrelfish-2018-10-04/lib/lwip2/src/core/
H A Dstats.c64 stats_display_proto(struct stats_proto *proto, const char *name) argument
67 LWIP_PLATFORM_DIAG(("xmit: %"STAT_COUNTER_F"\n\t", proto->xmit));
68 LWIP_PLATFORM_DIAG(("recv: %"STAT_COUNTER_F"\n\t", proto->recv));
69 LWIP_PLATFORM_DIAG(("fw: %"STAT_COUNTER_F"\n\t", proto->fw));
70 LWIP_PLATFORM_DIAG(("drop: %"STAT_COUNTER_F"\n\t", proto->drop));
71 LWIP_PLATFORM_DIAG(("chkerr: %"STAT_COUNTER_F"\n\t", proto->chkerr));
72 LWIP_PLATFORM_DIAG(("lenerr: %"STAT_COUNTER_F"\n\t", proto->lenerr));
73 LWIP_PLATFORM_DIAG(("memerr: %"STAT_COUNTER_F"\n\t", proto->memerr));
74 LWIP_PLATFORM_DIAG(("rterr: %"STAT_COUNTER_F"\n\t", proto->rterr));
75 LWIP_PLATFORM_DIAG(("proterr: %"STAT_COUNTER_F"\n\t", proto
[all...]
H A Dinet_chksum.c260 inet_cksum_pseudo_base(struct pbuf *p, u8_t proto, u16_t proto_len, u32_t acc) argument
285 acc += (u32_t)lwip_htons((u16_t)proto);
305 * @param proto ip protocol (used for checksum of pseudo header)
310 inet_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, argument
326 return inet_cksum_pseudo_base(p, proto, proto_len, acc);
336 * @param proto ipv6 protocol/next header (used for checksum of pseudo header)
343 ip6_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, argument
362 return inet_cksum_pseudo_base(p, proto, proto_len, acc);
374 * @param proto ip protocol (used for checksum of pseudo header)
379 ip_chksum_pseudo(struct pbuf *p, u8_t proto, u16_ argument
399 inet_cksum_pseudo_partial_base(struct pbuf *p, u8_t proto, u16_t proto_len, u16_t chksum_len, u32_t acc) argument
456 inet_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len, u16_t chksum_len, const ip4_addr_t *src, const ip4_addr_t *dest) argument
491 ip6_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len, u16_t chksum_len, const ip6_addr_t *src, const ip6_addr_t *dest) argument
526 ip_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len, u16_t chksum_len, const ip_addr_t *src, const ip_addr_t *dest) argument
[all...]
H A Draw.c131 s16_t proto; local
143 proto = IP6H_NEXTH(ip6hdr);
151 proto = IPH_PROTO((struct ip_hdr *)p->payload);
160 if ((pcb->protocol == proto) && raw_input_match(pcb, broadcast)) {
445 * @param proto the protocol number of the IPs payload (e.g. IP_PROTO_ICMP)
450 raw_new(u8_t proto) argument
461 pcb->protocol = proto;
479 * @param proto the protocol number (next header) of the IPv6 packet payload
485 raw_new_ip_type(u8_t type, u8_t proto) argument
488 pcb = raw_new(proto);
[all...]
/barrelfish-2018-10-04/lib/libc/net/
H A Dgetproto.c94 getprotobynumber_r(int proto, struct protoent *pptr, char *buffer, argument
116 defaultsrc, proto, pptr, buffer, buflen, &ret_errno);
126 getprotobynumber(int proto) argument
133 if (getprotobynumber_r(proto, &pd->proto, pd->data, sizeof(pd->data),
H A Dgetprotoent.c92 int proto; local
116 proto = va_arg(ap, int);
125 memcpy(buffer + sizeof(enum nss_lookup_type), &proto,
147 struct protoent *proto; local
170 proto = va_arg(ap, struct protoent *);
175 if (proto->p_name != NULL)
176 desired_size += strlen(proto->p_name) + 1;
178 if (proto->p_aliases != NULL) {
180 for (alias = proto->p_aliases; *alias; ++alias) {
195 memcpy(&new_proto, proto, sizeo
234 struct protoent *proto; local
[all...]
H A Dgetservent.c143 const char *proto; member in struct:key
295 char *proto; local
308 proto = NULL;
313 proto = va_arg(ap, char *);
317 proto = va_arg(ap, char *);
367 compat_src, name, proto, serv, buffer,
373 compat_src, port, proto, serv, buffer,
408 if (proto == NULL || strcmp(serv->s_proto, proto) == 0)
415 if (proto
500 char *proto; local
672 char *proto; local
866 char *proto; local
942 char *proto; local
1043 char *proto; local
1108 getservbyname_r(const char *name, const char *proto, struct servent *serv, char *buffer, size_t bufsize, struct servent **result) argument
1145 getservbyport_r(int port, const char *proto, struct servent *serv, char *buffer, size_t bufsize, struct servent **result) argument
1342 getservbyname(const char *name, const char *proto) argument
1353 getservbyport(int port, const char *proto) argument
[all...]
/barrelfish-2018-10-04/lib/libc/rpc/
H A Dbindresvport.c81 int proto, portrange, portlow; local
99 proto = IPPROTO_IP;
108 proto = IPPROTO_IPV6;
126 error = _getsockopt(sd, proto, portrange, &old, &oldlen);
130 error = _setsockopt(sd, proto, portrange, &portlow,
142 if (_setsockopt(sd, proto, portrange, &old,
H A Dgetrpcport.c56 getrpcport(char *host, int prognum, int versnum, int proto) argument
74 (u_int)proto));
H A Dauth_time.c121 free(eps[i].proto);
180 ep->proto = strdup("tcp");
181 if (ep->uaddr == NULL || ep->family == NULL || ep->proto == NULL) {
195 ep->proto = strdup("udp");
196 if (ep->uaddr == NULL || ep->family == NULL || ep->proto == NULL) {
291 if (strcasecmp(ep[i].proto, "udp") == 0)
293 if (strcasecmp(ep[i].proto, "tcp") == 0)
/barrelfish-2018-10-04/lib/arranet/
H A Dinet_chksum.h80 u8_t proto, u16_t proto_len);
83 u8_t proto, u16_t proto_len, u16_t chksum_len);
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/include/linux/
H A Dnet.h38 sock_create_kern(int family, int type, int proto, struct socket **res) argument
40 return -socreate(family, res, type, proto, curthread->td_ucred,
/barrelfish-2018-10-04/include/lwip/ipv6/lwip/
H A Dinet.h47 u8_t proto, u32_t proto_len);
H A Dip.h111 u8_t ttl, u8_t proto);
114 struct ip_addr *dest, u8_t ttl, u8_t proto,
/barrelfish-2018-10-04/include/lwip2/lwip/apps/
H A Dmdns.h63 err_t mdns_resp_add_service(struct netif *netif, const char *name, const char *service, enum mdns_sd_proto proto, u16_t port, u32_t dns_ttl, service_get_txt_fn_t txt_fn, void *txt_userdata);
/barrelfish-2018-10-04/include/lwip2/lwip/prot/
H A Detharp.h59 PACK_STRUCT_FIELD(u16_t proto);
H A Dip4.h119 #define IPH_PROTO_SET(hdr, proto) (hdr)->_proto = (u8_t)(proto)

Completed in 89 milliseconds

1234