/vbox/src/VBox/Devices/EFI/Firmware/StdLib/BsdSocketLib/ |
H A D | getproto.c | 43 getprotobynumber(register int proto) argument 49 if (p->p_proto == proto)
|
H A D | getservbyport.c | 44 getservbyport(int port, const char *proto) argument 53 ___getservbyproto_yp = (char *)proto; 60 if (proto == 0 || strcmp(p->s_proto, proto) == 0)
|
H A D | getservbyname.c | 43 getservbyname(IN const char *name, IN const char *proto) argument 53 ___getservbyproto_yp = (char *)proto; 65 if (proto == 0 || strcmp(p->s_proto, proto) == 0)
|
H A D | getprotoent.c | 49 static struct protoent proto; variable in typeref:struct:protoent 90 proto.p_name = p; 100 proto.p_proto = atoi(cp); 101 q = proto.p_aliases = proto_aliases; 117 return (&proto);
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/ |
H A D | getproto.c | 59 PRProtoEnt proto; local 64 rv = PR_GetProtoByName("tcp", buf, sizeof(buf), &proto); 69 else if (6 != proto.p_num) { 72 proto.p_num); 74 else PR_fprintf(prstderr, "tcp is protocol number %d\n", proto.p_num); 76 rv = PR_GetProtoByName("udp", buf, sizeof(buf), &proto); 81 else if (17 != proto.p_num) { 84 proto.p_num); 86 else PR_fprintf(prstderr, "udp is protocol number %d\n", proto.p_num); 88 rv = PR_GetProtoByNumber(6, buf, sizeof(buf), &proto); [all...] |
H A D | ipv6.c | 117 PRProtoEnt proto; local 243 rv = PR_GetProtoByName("tcp", &buffer[1], sizeof(buffer) - 1, &proto); 244 rv = PR_GetProtoByNumber(6, &buffer[3], sizeof(buffer) - 3, &proto);
|
/vbox/src/VBox/Devices/Network/lwip/src/core/ipv6/ |
H A D | ip6.c | 263 u8_t proto, struct netif *netif) 286 iphdr->nexthdr = proto; 323 u8_t ttl, u8_t proto) 334 return ip_output_if (p, src, dest, ttl, proto, netif); 261 ip_output_if(struct pbuf *p, struct ip_addr *src, struct ip_addr *dest, u8_t ttl, u8_t proto, struct netif *netif) argument 322 ip_output(struct pbuf *p, struct ip_addr *src, struct ip_addr *dest, u8_t ttl, u8_t proto) argument
|
/vbox/src/VBox/Devices/Network/lwip/src/core/ |
H A D | stats.c | 53 stats_display_proto(struct stats_proto *proto, char *name) argument 56 LWIP_PLATFORM_DIAG(("xmit: %"S16_F"\n\t", proto->xmit)); 57 LWIP_PLATFORM_DIAG(("rexmit: %"S16_F"\n\t", proto->rexmit)); 58 LWIP_PLATFORM_DIAG(("recv: %"S16_F"\n\t", proto->recv)); 59 LWIP_PLATFORM_DIAG(("fw: %"S16_F"\n\t", proto->fw)); 60 LWIP_PLATFORM_DIAG(("drop: %"S16_F"\n\t", proto->drop)); 61 LWIP_PLATFORM_DIAG(("chkerr: %"S16_F"\n\t", proto->chkerr)); 62 LWIP_PLATFORM_DIAG(("lenerr: %"S16_F"\n\t", proto->lenerr)); 63 LWIP_PLATFORM_DIAG(("memerr: %"S16_F"\n\t", proto->memerr)); 64 LWIP_PLATFORM_DIAG(("rterr: %"S16_F"\n\t", proto [all...] |
H A D | inet6.c | 86 u8_t proto, u32_t proto_len) 116 acc += (u16_t)htons((u16_t)proto); 84 inet_chksum_pseudo(struct pbuf *p, struct ip_addr *src, struct ip_addr *dest, u8_t proto, u32_t proto_len) argument
|
H A D | raw.c | 90 s16_t proto; local 94 proto = IPH_PROTO(iphdr); 100 if (pcb->protocol == proto) { 303 * @param proto the protocol number of the IPs payload (e.g. IP_PROTO_ICMP) 308 raw_new(u16_t proto) { argument 318 pcb->protocol = proto;
|
H A D | inet.c | 249 u8_t proto, u16_t proto_len) 280 acc += (u32_t)htons((u16_t)proto); 247 inet_chksum_pseudo(struct pbuf *p, struct ip_addr *src, struct ip_addr *dest, u8_t proto, u16_t proto_len) argument
|
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/ |
H A D | ipoib.h | 34 uint16_t proto; member in struct:ipoib_hdr
|
/vbox/src/VBox/Devices/Network/lwip/src/core/ipv4/ |
H A D | ip.c | 386 u8_t proto, struct netif *netif) 405 IPH_PROTO_SET(iphdr, proto); 453 u8_t ttl, u8_t tos, u8_t proto) 465 return ip_output_if(p, src, dest, ttl, tos, proto, netif); 492 LWIP_DEBUGF(IP_DEBUG, ("| %3"U16_F" | %3"U16_F" | 0x%04"X16_F" | (ttl, proto, chksum)\n", 384 ip_output_if(struct pbuf *p, struct ip_addr *src, struct ip_addr *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif) argument 452 ip_output(struct pbuf *p, struct ip_addr *src, struct ip_addr *dest, u8_t ttl, u8_t tos, u8_t proto) argument
|
/vbox/src/VBox/Devices/Network/lwip-new/src/core/ |
H A D | stats.c | 72 stats_display_proto(struct stats_proto *proto, const char *name) argument 75 LWIP_PLATFORM_DIAG(("xmit: %"STAT_COUNTER_F"\n\t", proto->xmit)); 76 LWIP_PLATFORM_DIAG(("recv: %"STAT_COUNTER_F"\n\t", proto->recv)); 77 LWIP_PLATFORM_DIAG(("fw: %"STAT_COUNTER_F"\n\t", proto->fw)); 78 LWIP_PLATFORM_DIAG(("drop: %"STAT_COUNTER_F"\n\t", proto->drop)); 79 LWIP_PLATFORM_DIAG(("chkerr: %"STAT_COUNTER_F"\n\t", proto->chkerr)); 80 LWIP_PLATFORM_DIAG(("lenerr: %"STAT_COUNTER_F"\n\t", proto->lenerr)); 81 LWIP_PLATFORM_DIAG(("memerr: %"STAT_COUNTER_F"\n\t", proto->memerr)); 82 LWIP_PLATFORM_DIAG(("rterr: %"STAT_COUNTER_F"\n\t", proto->rterr)); 83 LWIP_PLATFORM_DIAG(("proterr: %"STAT_COUNTER_F"\n\t", proto [all...] |
H A D | inet_chksum.c | 262 inet_cksum_pseudo_base(struct pbuf *p, u8_t proto, u16_t proto_len, u32_t acc) argument 287 acc += (u32_t)htons((u16_t)proto); 306 * @param proto ip protocol (used for checksum of pseudo header) 311 inet_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, argument 327 return inet_cksum_pseudo_base(p, proto, proto_len, acc); 337 * @param proto ipv6 protocol/next header (used for checksum of pseudo header) 342 ip6_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, argument 361 return inet_cksum_pseudo_base(p, proto, proto_len, acc); 367 inet_cksum_pseudo_partial_base(struct pbuf *p, u8_t proto, u16_t proto_len, argument 399 acc += (u32_t)htons((u16_t)proto); 423 inet_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len, u16_t chksum_len, ip_addr_t *src, ip_addr_t *dest) argument 457 ip6_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len, u16_t chksum_len, ip6_addr_t *src, ip6_addr_t *dest) argument [all...] |
H A D | raw.c | 82 s16_t proto; local 95 proto = IP6H_NEXTH(ip6hdr); 100 proto = IPH_PROTO(iphdr); 108 if ((pcb->protocol == proto) && IP_PCB_IPVER_INPUT_MATCH(pcb) && 376 * @param proto the protocol number of the IPs payload (e.g. IP_PROTO_ICMP) 381 raw_new(u8_t proto) argument 392 pcb->protocol = proto; 407 * @param proto the protocol number (next header) of the IPv6 packet payload 413 raw_new_ip6(u8_t proto) argument 416 pcb = raw_new(proto); [all...] |
/vbox/src/VBox/Devices/Network/lwip-new/src/include/lwip/ |
H A D | api_msg.h | 74 u8_t proto; member in struct:api_msg_msg::__anon14902::__anon14903
|
/vbox/src/VBox/Devices/Network/slirp/libalias/ |
H A D | alias_mod.c | 166 (b->proto == p->proto)) 274 find_handler(int8_t dir, int8_t proto, struct libalias *la, struct ip *pip, argument 286 if ((p->dir & dir) && (p->proto & proto))
|
H A D | alias_mod.h | 87 uint8_t proto; /* Working protocol. */ member in struct:proto_handler
|
/vbox/src/VBox/NetworkServices/NetLib/ |
H A D | VBoxNetPortForwardString.cpp | 219 int proto; local 287 proto = (fTcpProto ? IPPROTO_TCP : IPPROTO_UDP); 321 pPfr->iPfrProto = proto; 331 "proto: %d\n" 336 pszName, proto,
|
/vbox/src/VBox/Devices/Network/lwip/src/api/ |
H A D | api_lib.c | 197 netconn *netconn_new_with_proto_and_callback(enum netconn_type t, u16_t proto, argument 234 msg->msg.msg.bc.port = proto; /* misusing the port field */
|
/vbox/src/VBox/Devices/Network/lwip-new/src/api/ |
H A D | api_lib.c | 62 * @param proto the IP protocol for RAW IP pcbs 68 netconn_new_with_proto_and_callback(enum netconn_type t, u8_t proto, netconn_callback callback) argument 76 msg.msg.msg.n.proto = proto;
|
/vbox/src/VBox/Devices/Network/lwip-new/src/core/ipv4/ |
H A D | ip4.c | 732 * @param proto the PROTOCOL to be set in the IP header 744 u8_t proto, struct netif *netif) 747 return ip_output_if_opt(p, src, dest, ttl, tos, proto, netif, NULL, 0); 757 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, 818 IPH_PROTO_SET(iphdr, proto); 820 chk_sum += LWIP_MAKE_U16(proto, ttl); 913 * @param proto the PROTOCOL to be set in the IP header 920 u8_t ttl, u8_t tos, u8_t proto) 935 return ip_output_if(p, src, dest, ttl, tos, proto, netif); 950 * @param proto th 742 ip_output_if(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif) argument 756 ip_output_if_opt(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, u16_t optlen) argument 919 ip_output(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto) argument 958 ip_output_hinted(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, u8_t *addr_hint) argument [all...] |
/vbox/src/VBox/Frontends/VBoxManage/ |
H A D | VBoxManageNATNetwork.cpp | 361 NATProtocol_T proto = NATProtocol_TCP; local 363 proto = NATProtocol_TCP; 365 proto = NATProtocol_UDP; 371 proto,
|
/vbox/src/VBox/Devices/Network/lwip/src/netif/ppp/ |
H A D | auth.c | 315 AUTHDEBUG((LOG_INFO, "auth_peer_fail: %d proto=%X\n", unit, protocol)); 331 AUTHDEBUG((LOG_INFO, "auth_peer_success: %d proto=%X\n", unit, protocol)); 368 AUTHDEBUG((LOG_INFO, "auth_withpeer_fail: %d proto=%X\n", unit, protocol)); 392 AUTHDEBUG((LOG_INFO, "auth_withpeer_success: %d proto=%X\n", unit, protocol)); 421 void np_up(int unit, u16_t proto) argument 423 AUTHDEBUG((LOG_INFO, "np_up: %d proto=%X\n", unit, proto)); 445 void np_down(int unit, u16_t proto) argument 447 AUTHDEBUG((LOG_INFO, "np_down: %d proto=%X\n", unit, proto)); 456 np_finished(int unit, u16_t proto) argument [all...] |