Searched refs:p_name (Results 1 - 25 of 53) sorted by relevance

123

/freebsd-12-stable/sys/cddl/dev/dtrace/
H A Ddtrace_sysctl.c29 char *p_name = NULL; local
44 if ((p_name = kmem_alloc(len, KM_SLEEP)) == NULL)
48 *p_name = '\0';
56 (void) strlcat(p_name, " ", len);
58 (void) strlcat(p_name, prov->dtpv_name, len);
67 if (p_name != NULL) {
68 error = sysctl_handle_string(oidp, p_name, len, req);
70 kmem_free(p_name, 0);
/freebsd-12-stable/contrib/ipfilter/lib/
H A Dprintproto.c33 PRINTF("%s", pr->p_name);
38 PRINTF("%s", pr->p_name);
H A Dgetportproto.c36 s = getservbyname(name, p ? p->p_name : NULL);
H A Dportname.c33 if ((sv = getservbyport(htons(port), p->p_name))) {
H A Dgetport.c84 s = getservbyname(name, p ? p->p_name : NULL);
H A Dprintstate.c26 PRINTF("%s", pr->p_name);
/freebsd-12-stable/lib/libc/tests/nss/
H A Dgetproto_test.c90 if (src->p_name != NULL) {
91 dest->p_name = strdup(src->p_name);
92 assert(dest->p_name != NULL);
119 free(pe->p_name);
137 if ((strcmp(pe1->p_name, pe2->p_name) != 0) ||
173 pe->p_name, pe->p_proto);
213 pe->p_name = strdup(s);
214 assert(pe->p_name !
[all...]
/freebsd-12-stable/lib/libc/net/
H A Dgetprotoent.c177 if (proto->p_name != NULL)
178 desired_size += strlen(proto->p_name) + 1;
205 if (new_proto.p_name != NULL) {
206 size = strlen(new_proto.p_name);
207 memcpy(p, new_proto.p_name, size);
208 new_proto.p_name = p;
279 NS_APPLY_OFFSET(proto->p_name, orig_buf, p, char *);
310 len += strlen(pe->p_name) + 1;
324 n = strlen(pe->p_name) + 1;
325 strcpy(cp, pe->p_name);
[all...]
H A Dgetprotoname.c87 if (strcmp(pe.p_name, name) == 0)
/freebsd-12-stable/usr.bin/bluetooth/bthost/
H A Dbthost.c128 printf("%s", pe->p_name);
133 pe->p_name, pe->p_proto);
/freebsd-12-stable/contrib/tcpdump/
H A Dprint-cnfp.c162 const char *p_name; local
214 if (!ndo->ndo_nflag && (p_name = netdb_protoname(nr->proto)) != NULL)
215 ND_PRINT((ndo, "%s ", p_name));
251 const char *p_name; local
310 if (!ndo->ndo_nflag && (p_name = netdb_protoname(nr->proto)) != NULL)
311 ND_PRINT((ndo, "%s ", p_name));
347 const char *p_name; local
406 if (!ndo->ndo_nflag && (p_name = netdb_protoname(nr->proto)) != NULL)
407 ND_PRINT((ndo, "%s ", p_name));
H A Daddrtoname.c174 const char *p_name; member in struct:protoidmem
660 if (tp->p_name)
661 return tp->p_name;
674 tp->p_name = strdup(buf);
675 if (tp->p_name == NULL)
677 return (tp->p_name);
892 tp->p_name = strdup(eproto_db[i].s);
893 if (tp->p_name == NULL)
901 if (tp->p_name != NULL)
904 tp->p_name
[all...]
H A Dprint-ip.c342 const char *p_name; local
508 if (ndo->ndo_nflag==0 && (p_name = netdb_protoname(ipds->nh)) != NULL)
509 ND_PRINT((ndo, " %s", p_name));
550 const char *p_name; local
695 if (!ndo->ndo_nflag && (p_name = netdb_protoname(ipds->ip->ip_p)) != NULL)
696 ND_PRINT((ndo, " %s", p_name));
/freebsd-12-stable/usr.bin/indent/
H A Dargs.c94 const char *p_name; /* name, e.g. -bl, -cli */ member in struct:pro
259 for (p = pro; p->p_name; p++)
271 for (p = pro; p->p_name; p++)
272 if (*p->p_name == *arg && (param_start = eqin(p->p_name, arg)) != NULL)
328 errx(1, "%s: ``%s'' requires a parameter", option_source, p->p_name);
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/net/
H A Dh_protoent.c43 prp->p_name, prp->p_proto);
H A Dt_getprotoent.c95 ATF_REQUIRE(strcmp(p->p_name, protos[i].name) == 0);
141 ATF_REQUIRE(strcmp(p->p_name, protos[i].name) == 0);
/freebsd-12-stable/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_sys.c755 strlcpy(b_req.ifbr_ifsname, bp->p_name, sizeof(b_req.ifbr_ifsname));
762 "failed: %s", bp->p_name, strerror(errno));
787 strlcpy(b_req.ifbr_ifsname, bp->p_name, sizeof(b_req.ifbr_ifsname));
792 "failed: %s", bp->p_name, strerror(errno));
804 "failed: %s", bp->p_name, strerror(errno));
829 strlcpy(b_req.ifbr_ifsname, bp->p_name, sizeof(b_req.ifbr_ifsname));
836 "failed: %s", bp->p_name, strerror(errno));
862 strlcpy(b_req.ifbr_ifsname, bp->p_name, sizeof(b_req.ifbr_ifsname));
867 "failed: %s", bp->p_name, strerror(errno));
888 "failed: %s", bp->p_name, strerro
[all...]
H A Dbridge_snmp.h118 char p_name[IFNAMSIZ]; /* Not in BRIDGE-MIB. */ member in struct:bridge_port
/freebsd-12-stable/sys/dev/bhnd/tools/
H A Dnvram_map_gen.awk144 PROP_NAME = "p_name"
235 class_add_prop(MacroType, p_name, "name")
244 class_add_prop(MacroDefine, p_name, "name")
255 class_add_prop(Fmt, p_name, "name")
270 map_set(ValueFormats, get(FmtHex, p_name), FmtHex)
271 map_set(ValueFormats, get(FmtDec, p_name), FmtDec)
272 map_set(ValueFormats, get(FmtMAC, p_name), FmtMAC)
273 map_set(ValueFormats, get(FmtLEDDC, p_name), FmtLEDDC)
274 map_set(ValueFormats, get(FmtStr, p_name), FmtStr)
278 class_add_prop(Type, p_name, "nam
[all...]
/freebsd-12-stable/lib/libbluetooth/
H A Dbluetooth.c183 if (strcmp(p->p_name, name) == 0)
227 proto.p_name = p;
/freebsd-12-stable/include/
H A Dnetdb.h130 char *p_name; /* official protocol name */ member in struct:protoent
/freebsd-12-stable/usr.sbin/ctld/
H A Dctld.c1237 port->p_name = name;
1282 port->p_name = name;
1311 port->p_name = name;
1326 if (strcasecmp(port->p_name, name) == 0)
1357 free(port->p_name);
1953 newport = port_find(newconf, oldport->p_name);
1956 log_debugx("removing port \"%s\"", oldport->p_name);
1960 oldport->p_name);
2076 oldport = port_find(oldconf, newport->p_name);
2079 log_debugx("adding port \"%s\"", newport->p_name);
[all...]
/freebsd-12-stable/usr.sbin/ppp/
H A Dfilter.c150 tgt->f_srcport = ParsePort(argv[2], pe->p_name);
165 tgt->f_dstport = ParsePort(argv[2], pe->p_name);
477 prompt_Printf(prompt, "%s", pe->p_name);
/freebsd-12-stable/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_mount.c105 char *p_name; member in struct:__anon77
166 proto_table[proto].p_name) == 0) {
782 proto_table[proto].p_name));
897 proto_table[*curr_proto].p_name, sourcetype,
911 proto_table[*curr_proto].p_name);
1001 err = zfs_sa_disable_share(share, proto_table[proto].p_name);
/freebsd-12-stable/usr.bin/getaddrinfo/
H A Dgetaddrinfo.c296 n = printf(" %s", protoent->p_name);

Completed in 301 milliseconds

123