/freebsd-10-stable/sys/cddl/dev/dtrace/ |
H A D | dtrace_sysctl.c | 35 char *p_name = NULL; local 50 if ((p_name = kmem_alloc(len, KM_SLEEP)) == NULL) 54 *p_name = '\0'; 62 (void) strlcat(p_name, " ", len); 64 (void) strlcat(p_name, prov->dtpv_name, len); 73 if (p_name != NULL) { 74 error = sysctl_handle_string(oidp, p_name, len, req); 76 kmem_free(p_name, 0);
|
/freebsd-10-stable/contrib/ipfilter/lib/ |
H A D | printproto.c | 41 PRINTF("%s", pr->p_name); 51 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 | 29 PRINTF("%s", pr->p_name);
|
/freebsd-10-stable/tools/regression/lib/libc/nss/ |
H A D | test-getproto.c | 92 if (src->p_name != NULL) { 93 dest->p_name = strdup(src->p_name); 94 assert(dest->p_name != NULL); 122 free(pe->p_name); 140 if ((strcmp(pe1->p_name, pe2->p_name) != 0) || 176 pe->p_name, pe->p_proto); 217 pe->p_name = strdup(s); 218 assert(pe->p_name ! [all...] |
/freebsd-10-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-10-stable/lib/libc/net/ |
H A D | getprotoent.c | 176 if (proto->p_name != NULL) 177 desired_size += strlen(proto->p_name) + 1; 204 if (new_proto.p_name != NULL) { 205 size = strlen(new_proto.p_name); 206 memcpy(p, new_proto.p_name, size); 207 new_proto.p_name = p; 278 NS_APPLY_OFFSET(proto->p_name, orig_buf, p, char *); 309 len += strlen(pe->p_name) + 1; 323 n = strlen(pe->p_name) + 1; 324 strcpy(cp, pe->p_name); [all...] |
H A D | getprotoname.c | 85 if (strcmp(pe.p_name, name) == 0)
|
/freebsd-10-stable/usr.bin/bluetooth/bthost/ |
H A D | bthost.c | 125 printf("%s", pe->p_name); 130 pe->p_name, pe->p_proto);
|
/freebsd-10-stable/usr.bin/indent/ |
H A D | args.c | 86 const char *p_name; /* name, e.g. -bl, -cli */ member in struct:pro 252 for (p = pro; p->p_name; p++) 263 for (p = pro; p->p_name; p++) 264 if (*p->p_name == *arg && eqin(p->p_name, arg))
|
/freebsd-10-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-10-stable/usr.sbin/bsnmpd/modules/snmp_bridge/ |
H A D | bridge_sys.c | 752 strlcpy(b_req.ifbr_ifsname, bp->p_name, sizeof(b_req.ifbr_ifsname)); 759 "failed: %s", bp->p_name, strerror(errno)); 784 strlcpy(b_req.ifbr_ifsname, bp->p_name, sizeof(b_req.ifbr_ifsname)); 789 "failed: %s", bp->p_name, strerror(errno)); 801 "failed: %s", bp->p_name, strerror(errno)); 826 strlcpy(b_req.ifbr_ifsname, bp->p_name, sizeof(b_req.ifbr_ifsname)); 833 "failed: %s", bp->p_name, strerror(errno)); 859 strlcpy(b_req.ifbr_ifsname, bp->p_name, sizeof(b_req.ifbr_ifsname)); 864 "failed: %s", bp->p_name, strerror(errno)); 885 "failed: %s", bp->p_name, strerro [all...] |
H A D | bridge_snmp.h | 116 char p_name[IFNAMSIZ]; /* Not in BRIDGE-MIB. */ member in struct:bridge_port
|
/freebsd-10-stable/contrib/tcpdump/ |
H A D | addrtoname.c | 165 const char *p_name; member in struct:protoidmem 612 if (tp->p_name) 613 return tp->p_name; 626 tp->p_name = strdup(buf); 627 return (tp->p_name); 816 tp->p_name = strdup(eproto_db[i].s); 822 if (tp->p_name != NULL) 825 tp->p_name = pl->name;
|
H A D | print-cnfp.c | 160 printf("%s ", pent->p_name);
|
H A D | print-ip.c | 494 ND_PRINT((ndo, " %s", proto->p_name)); 673 (void)printf(" %s", proto->p_name);
|
/freebsd-10-stable/lib/libbluetooth/ |
H A D | bluetooth.c | 181 if (strcmp(p->p_name, name) == 0) 225 proto.p_name = p;
|
/freebsd-10-stable/include/ |
H A D | netdb.h | 118 char *p_name; /* official protocol name */ member in struct:protoent
|
/freebsd-10-stable/cddl/contrib/opensolaris/lib/libzfs/common/ |
H A D | libzfs_mount.c | 97 char *p_name; member in struct:__anon12 158 proto_table[proto].p_name) == 0) { 673 proto_table[proto].p_name)); 788 proto_table[*curr_proto].p_name, sourcetype, 803 proto_table[*curr_proto].p_name); 886 err = zfs_sa_disable_share(share, proto_table[proto].p_name);
|
/freebsd-10-stable/usr.sbin/ppp/ |
H A D | filter.c | 148 tgt->f_srcport = ParsePort(argv[2], pe->p_name); 163 tgt->f_dstport = ParsePort(argv[2], pe->p_name); 475 prompt_Printf(prompt, "%s", pe->p_name);
|
/freebsd-10-stable/usr.sbin/ctld/ |
H A D | ctld.c | 1216 port->p_name = name; 1244 port->p_name = name; 1259 if (strcasecmp(port->p_name, name) == 0) 1290 free(port->p_name); 1884 newport = port_find(newconf, oldport->p_name); 1887 log_debugx("removing port \"%s\"", oldport->p_name); 1891 oldport->p_name); 2007 oldport = port_find(oldconf, newport->p_name); 2010 log_debugx("adding port \"%s\"", newport->p_name); 2013 log_debugx("updating port \"%s\"", newport->p_name); [all...] |
/freebsd-10-stable/crypto/heimdal/lib/roken/ |
H A D | getaddrinfo.c | 60 proto_str = protoent->p_name;
|