Home
last modified time | relevance | path

Searched refs:p_name (Results 1 – 25 of 40) sorted by relevance

12

/freebsd-9-stable/sys/cddl/dev/dtrace/
Ddtrace_sysctl.c35 char *p_name = NULL; in sysctl_dtrace_providers() local
50 if ((p_name = kmem_alloc(len, KM_SLEEP)) == NULL) in sysctl_dtrace_providers()
54 *p_name = '\0'; in sysctl_dtrace_providers()
62 (void) strlcat(p_name, " ", len); in sysctl_dtrace_providers()
64 (void) strlcat(p_name, prov->dtpv_name, len); in sysctl_dtrace_providers()
73 if (p_name != NULL) { in sysctl_dtrace_providers()
74 error = sysctl_handle_string(oidp, p_name, len, req); in sysctl_dtrace_providers()
76 kmem_free(p_name, 0); in sysctl_dtrace_providers()
/freebsd-9-stable/tools/regression/lib/libc/nss/
Dtest-getproto.c92 if (src->p_name != NULL) { in IMPLEMENT_TEST_FILE_SNAPSHOT()
93 dest->p_name = strdup(src->p_name); in IMPLEMENT_TEST_FILE_SNAPSHOT()
94 assert(dest->p_name != NULL); in IMPLEMENT_TEST_FILE_SNAPSHOT()
122 free(pe->p_name); in free_protoent()
140 if ((strcmp(pe1->p_name, pe2->p_name) != 0) || in compare_protoent()
176 pe->p_name, pe->p_proto); in sdump_protoent()
217 pe->p_name = strdup(s); in protoent_read_snapshot_func()
218 assert(pe->p_name != NULL); in protoent_read_snapshot_func()
224 free(pe->p_name); in protoent_read_snapshot_func()
253 free(pe->p_name); in protoent_read_snapshot_func()
[all …]
/freebsd-9-stable/lib/libc/net/
Dgetprotoent.c176 if (proto->p_name != NULL) in __proto_marshal_func()
177 desired_size += strlen(proto->p_name) + 1; in __proto_marshal_func()
204 if (new_proto.p_name != NULL) { in __proto_marshal_func()
205 size = strlen(new_proto.p_name); in __proto_marshal_func()
206 memcpy(p, new_proto.p_name, size); in __proto_marshal_func()
207 new_proto.p_name = p; in __proto_marshal_func()
278 NS_APPLY_OFFSET(proto->p_name, orig_buf, p, char *); in __proto_unmarshal_func()
309 len += strlen(pe->p_name) + 1; in __copy_protoent()
323 n = strlen(pe->p_name) + 1; in __copy_protoent()
324 strcpy(cp, pe->p_name); in __copy_protoent()
[all …]
Dgetprotoname.c85 if (strcmp(pe.p_name, name) == 0) in files_getprotobyname()
/freebsd-9-stable/usr.sbin/bsnmpd/modules/snmp_bridge/
Dbridge_sys.c752 strlcpy(b_req.ifbr_ifsname, bp->p_name, sizeof(b_req.ifbr_ifsname)); in bridge_port_set_priority()
759 "failed: %s", bp->p_name, strerror(errno)); in bridge_port_set_priority()
784 strlcpy(b_req.ifbr_ifsname, bp->p_name, sizeof(b_req.ifbr_ifsname)); in bridge_port_set_stp_enable()
789 "failed: %s", bp->p_name, strerror(errno)); in bridge_port_set_stp_enable()
801 "failed: %s", bp->p_name, strerror(errno)); in bridge_port_set_stp_enable()
826 strlcpy(b_req.ifbr_ifsname, bp->p_name, sizeof(b_req.ifbr_ifsname)); in bridge_port_set_path_cost()
833 "failed: %s", bp->p_name, strerror(errno)); in bridge_port_set_path_cost()
859 strlcpy(b_req.ifbr_ifsname, bp->p_name, sizeof(b_req.ifbr_ifsname)); in bridge_port_set_admin_ptp()
864 "failed: %s", bp->p_name, strerror(errno)); in bridge_port_set_admin_ptp()
885 "failed: %s", bp->p_name, strerror(errno)); in bridge_port_set_admin_ptp()
[all …]
Dbridge_snmp.h116 char p_name[IFNAMSIZ]; /* Not in BRIDGE-MIB. */ member
/freebsd-9-stable/usr.bin/indent/
Dargs.c86 const char *p_name; /* name, e.g. -bl, -cli */ member
252 for (p = pro; p->p_name; p++) in set_defaults()
263 for (p = pro; p->p_name; p++) in set_option()
264 if (*p->p_name == *arg && eqin(p->p_name, arg)) in set_option()
/freebsd-9-stable/contrib/ipfilter/lib/
Dprintproto.c37 printf("%s", pr->p_name);
47 printf("%s", pr->p_name);
Dgetportproto.c36 s = getservbyname(name, p ? p->p_name : NULL);
Dportname.c32 if ((sv = getservbyport(htons(port), p->p_name))) {
Dgetport.c75 s = getservbyname(name, p ? p->p_name : NULL);
/freebsd-9-stable/contrib/tcpdump/
Daddrtoname.c165 const char *p_name; member
612 if (tp->p_name) in protoid_string()
613 return tp->p_name; in protoid_string()
626 tp->p_name = strdup(buf); in protoid_string()
627 return (tp->p_name); in protoid_string()
816 tp->p_name = strdup(eproto_db[i].s); in init_protoidarray()
822 if (tp->p_name != NULL) in init_protoidarray()
825 tp->p_name = pl->name; in init_protoidarray()
Dprint-cnfp.c160 printf("%s ", pent->p_name); in cnfp_print()
Dprint-ip.c492 ND_PRINT((ndo, " %s", proto->p_name)); in ip_print_demux()
671 (void)printf(" %s", proto->p_name); in ip_print()
/freebsd-9-stable/usr.bin/bluetooth/bthost/
Dbthost.c125 printf("%s", pe->p_name); in protomode()
130 pe->p_name, pe->p_proto); in protomode()
/freebsd-9-stable/cddl/contrib/opensolaris/lib/libzfs/common/
Dlibzfs_mount.c93 char *p_name; member
154 proto_table[proto].p_name) == 0) { in is_shared()
668 proto_table[proto].p_name)); in zfs_parse_options()
782 proto_table[*curr_proto].p_name, sourcetype, in zfs_share_proto()
797 proto_table[*curr_proto].p_name); in zfs_share_proto()
880 err = zfs_sa_disable_share(share, proto_table[proto].p_name); in unshare_one()
/freebsd-9-stable/lib/libbluetooth/
Dbluetooth.c181 if (strcmp(p->p_name, name) == 0) in bt_getprotobyname()
225 proto.p_name = p; in bt_getprotoent()
/freebsd-9-stable/usr.sbin/ppp/
Dfilter.c148 tgt->f_srcport = ParsePort(argv[2], pe->p_name); in ParseUdpOrTcp()
163 tgt->f_dstport = ParsePort(argv[2], pe->p_name); in ParseUdpOrTcp()
475 prompt_Printf(prompt, "%s", pe->p_name); in doShowFilter()
/freebsd-9-stable/include/
Dnetdb.h118 char *p_name; /* official protocol name */ member
/freebsd-9-stable/lib/libc/resolv/
Dres_mkupdate.c1041 slp->name = strdup(pp->p_name); in res_buildprotolist()
1163 prot.p_name = lp->name; in cgetprotobynumber()
1182 return (pp->p_name); in res_protocolname()
/freebsd-9-stable/sbin/ipfw/
Dnat.c683 printf(" redirect_port %s ", p->p_name); in print_nat_config()
718 printf(" redirect_proto %s %s", p->p_name, in print_nat_config()
/freebsd-9-stable/crypto/heimdal/lib/roken/
Dgetaddrinfo.c63 proto_str = protoent->p_name; in get_port_protocol_socktype()
/freebsd-9-stable/contrib/pf/pfctl/
Dpf_print_state.c237 printf("%s ", p->p_name); in print_state()
/freebsd-9-stable/lib/libipsec/
Dpfkey_dump.c567 printf("%s", ent->p_name);
/freebsd-9-stable/usr.bin/fstat/
Dfstat.c358 printf(" %s", pe->p_name); in print_socket_info()

12