/freebsd-12-stable/sys/cddl/dev/dtrace/ |
H A D | dtrace_sysctl.c | 29 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 D | printproto.c | 33 PRINTF("%s", pr->p_name); 38 PRINTF("%s", pr->p_name);
|
H A D | getportproto.c | 36 s = getservbyname(name, p ? p->p_name : NULL);
|
H A D | portname.c | 33 if ((sv = getservbyport(htons(port), p->p_name))) {
|
H A D | getport.c | 84 s = getservbyname(name, p ? p->p_name : NULL);
|
H A D | printstate.c | 26 PRINTF("%s", pr->p_name);
|
/freebsd-12-stable/lib/libc/tests/nss/ |
H A D | getproto_test.c | 90 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 D | getprotoent.c | 177 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 D | getprotoname.c | 87 if (strcmp(pe.p_name, name) == 0)
|
/freebsd-12-stable/usr.bin/bluetooth/bthost/ |
H A D | bthost.c | 128 printf("%s", pe->p_name); 133 pe->p_name, pe->p_proto);
|
/freebsd-12-stable/contrib/tcpdump/ |
H A D | print-cnfp.c | 162 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 D | addrtoname.c | 174 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 D | print-ip.c | 342 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 D | args.c | 94 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 D | h_protoent.c | 43 prp->p_name, prp->p_proto);
|
H A D | t_getprotoent.c | 95 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 D | bridge_sys.c | 755 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 D | bridge_snmp.h | 118 char p_name[IFNAMSIZ]; /* Not in BRIDGE-MIB. */ member in struct:bridge_port
|
/freebsd-12-stable/sys/dev/bhnd/tools/ |
H A D | nvram_map_gen.awk | 144 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 D | bluetooth.c | 183 if (strcmp(p->p_name, name) == 0) 227 proto.p_name = p;
|
/freebsd-12-stable/include/ |
H A D | netdb.h | 130 char *p_name; /* official protocol name */ member in struct:protoent
|
/freebsd-12-stable/usr.sbin/ctld/ |
H A D | ctld.c | 1237 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 D | filter.c | 150 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 D | libzfs_mount.c | 105 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 D | getaddrinfo.c | 296 n = printf(" %s", protoent->p_name);
|