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

/seL4-refos-master/libs/libmuslc/src/network/
H A Dlookup_serv.c11 int __lookup_serv(struct service buf[static MAXSERVS], const char *name, int proto, int socktype, int flags) argument
20 switch (proto) {
22 proto = IPPROTO_TCP;
30 switch (proto) {
32 proto = IPPROTO_UDP;
43 buf[0].proto = proto;
54 if (proto != IPPROTO_UDP) {
57 buf[cnt++].proto = IPPROTO_TCP;
59 if (proto !
[all...]
H A Dgetservbyname_r.c16 int cnt, proto, align; local
26 if (!prots) proto = 0;
27 else if (!strcmp(prots, "tcp")) proto = IPPROTO_TCP;
28 else if (!strcmp(prots, "udp")) proto = IPPROTO_UDP;
31 cnt = __lookup_serv(servs, name, proto, 0, 0);
45 se->s_proto = servs[0].proto == IPPROTO_TCP ? "tcp" : "udp";
H A Dlookup.h16 unsigned char proto, socktype; member in struct:service
33 int __lookup_serv(struct service buf[static MAXSERVS], const char *name, int proto, int socktype, int flags);
H A Dgetaddrinfo.c14 int family = AF_UNSPEC, flags = 0, proto = 0, socktype = 0; local
28 proto = hint->ai_protocol;
46 nservs = __lookup_serv(ports, serv, proto, socktype, flags);
68 .ai_protocol = ports[j].proto,
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Ddungeon.h25 char proto[15]; /* name of prototype file (eg. "tower") */ member in struct:s_level
55 char proto[15]; /* name of prototype file (eg. "tower") */ member in struct:dungeon
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Ddungeon.h25 char proto[15]; /* name of prototype file (eg. "tower") */ member in struct:s_level
55 char proto[15]; /* name of prototype file (eg. "tower") */ member in struct:dungeon
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Ddungeon.c71 DD.dname, DD.proto);
84 fprintf(stderr, "%s (%d): ", x->proto, x->rndlevs);
220 if (!strcmpi(s, curr->proto)) break;
487 Strcpy(new_level->proto, tlevel->name);
579 if (proto_index == pd->n_levs) return TRUE; /* at end of proto levels */
592 fprintf(stderr,"%s: trying %d [ ", lev->proto, lev->dlevel.dlevel);
602 fprintf(stderr,"%s: failed\n", lev->proto);
721 Strcpy(dungeons[i].proto, pd.tmpdungeon[i].protoname);
858 Sprintf(x->proto, "%s%s", urole.filecode, &lev_map->lev_name[1]);
1644 Sprintf(buf, " %s: %d", slev->proto, dept
[all...]
H A Dmkmaze.c508 } else if(*(dungeons[u.uz.dnum].proto)) {
511 Sprintf(protofile, "%s%d-%d", dungeons[u.uz.dnum].proto,
514 else Sprintf(protofile, "%s%d", dungeons[u.uz.dnum].proto,
517 Sprintf(protofile, "%s-%d", dungeons[u.uz.dnum].proto,
519 } else Strcpy(protofile, dungeons[u.uz.dnum].proto);
H A Dmklev.c627 makemaz(slev->proto);
629 } else if (dungeons[u.uz.dnum].proto[0]) {
H A Dfiles.c119 #include <proto/dos.h>
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Ddungeon.c71 DD.dname, DD.proto);
84 fprintf(stderr, "%s (%d): ", x->proto, x->rndlevs);
220 if (!strcmpi(s, curr->proto)) break;
487 Strcpy(new_level->proto, tlevel->name);
579 if (proto_index == pd->n_levs) return TRUE; /* at end of proto levels */
592 fprintf(stderr,"%s: trying %d [ ", lev->proto, lev->dlevel.dlevel);
602 fprintf(stderr,"%s: failed\n", lev->proto);
721 Strcpy(dungeons[i].proto, pd.tmpdungeon[i].protoname);
858 Sprintf(x->proto, "%s%s", urole.filecode, &lev_map->lev_name[1]);
1644 Sprintf(buf, " %s: %d", slev->proto, dept
[all...]
H A Dmkmaze.c508 } else if(*(dungeons[u.uz.dnum].proto)) {
511 Sprintf(protofile, "%s%d-%d", dungeons[u.uz.dnum].proto,
514 else Sprintf(protofile, "%s%d", dungeons[u.uz.dnum].proto,
517 Sprintf(protofile, "%s-%d", dungeons[u.uz.dnum].proto,
519 } else Strcpy(protofile, dungeons[u.uz.dnum].proto);
H A Dmklev.c627 makemaz(slev->proto);
629 } else if (dungeons[u.uz.dnum].proto[0]) {
H A Dfiles.c119 #include <proto/dos.h>
/seL4-refos-master/projects/util_libs/libethdrivers/src/plat/tx2/uboot/
H A Dnet.h593 u16 pkt_len, u8 proto);
677 int payload_len, int proto, u8 action, u32 tcp_seq_num,
H A Dethtool.h371 * @proto: Transport protocol number; mask must be 0
379 uint8_t proto; member in struct:ethtool_usrip4_spec
/seL4-refos-master/projects/util_libs/libethdrivers/src/plat/zynq7000/uboot/
H A Dethtool.h372 * @proto: Transport protocol number; mask must be 0
380 uint8_t proto; member in struct:ethtool_usrip4_spec
/seL4-refos-master/projects/util_libs/libethdrivers/src/plat/imx6/uboot/
H A Dethtool.h371 * @proto: Transport protocol number; mask must be 0
379 uint8_t proto; member in struct:ethtool_usrip4_spec

Completed in 100 milliseconds