Home
last modified time | relevance | path

Searched refs:protoname (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/openbsm/bin/auditdistd/
H A Dproto.c272 const char *protoname; in proto_connection_send() local
284 protoname = mconn->pc_proto->prt_name; in proto_connection_send()
285 PJDLOG_ASSERT(protoname != NULL); in proto_connection_send()
288 (const unsigned char *)protoname, strlen(protoname) + 1, fd); in proto_connection_send()
298 proto_wrap(const char *protoname, bool client, int fd, in proto_wrap() argument
306 if (strcmp(proto->prt_name, protoname) == 0) in proto_wrap()
335 char protoname[128]; in proto_connection_recv() local
344 bzero(protoname, sizeof(protoname)); in proto_connection_recv()
347 (unsigned char *)protoname, sizeof(protoname) - 1, &fd); in proto_connection_recv()
355 return (proto_wrap(protoname, client, fd, newconnp)); in proto_connection_recv()
H A Dproto_impl.h76 int proto_wrap(const char *protoname, bool client, int fd,
/freebsd/sys/netgraph/
H A Dng_lmi.c134 char *protoname; /* cache protocol name */ member
192 sc->protoname = NAME_NONE; in nglmi_constructor()
220 sc->protoname = NAME_ANNEXA; in nglmi_newhook()
227 sc->protoname = NAME_ANNEXD; in nglmi_newhook()
234 sc->protoname = NAME_GROUP4; in nglmi_newhook()
239 sc->protoname = NAME_NONE; in nglmi_newhook()
246 sc->protoname = NAME_NONE; in nglmi_newhook()
461 pos = sprintf(arg, "protocol %s ", sc->protoname); in nglmi_rcvmsg()
508 sc->protoname, sizeof(stat->proto) - 1); in nglmi_rcvmsg()
510 sc->protoname, sizeof(stat->hook) - 1); in nglmi_rcvmsg()
[all …]
/freebsd/usr.bin/sockstat/
H A Dsockstat.c147 const char *protoname; member
431 sock->protoname = "sctp"; in gather_sctp()
532 sock->protoname = "sctp"; in gather_sctp()
665 const char *varname, *protoname; in gather_inet() local
679 protoname = "tcp"; in gather_inet()
683 protoname = "udp"; in gather_inet()
687 protoname = "div"; in gather_inet()
730 protoname = xtp->t_flags & TF_TOE ? "toe" : "tcp"; in gather_inet()
806 sock->protoname = protoname; in gather_inet()
823 const char *varname, *protoname; in gather_unix() local
[all …]
/freebsd/usr.sbin/ppp/
H A Dccp.c111 protoname(int proto) in protoname() function
173 protoname(ccp->my_proto), protoname(ccp->his_proto)); in ccp_ReportStatus()
511 fp->link->name, protoname(algorithm[f]->id)); in CcpLayerUp()
530 fp->link->name, protoname(ccp->his_proto)); in CcpLayerUp()
549 fp->link->name, protoname(ccp->my_proto)); in CcpLayerUp()
559 fp->link->name, protoname(ccp->my_proto), ccp->my_proto, in CcpLayerUp()
560 protoname(ccp->his_proto), ccp->his_proto); in CcpLayerUp()
590 log_Printf(LogCCP, " %s[%d] %s\n", protoname(opt->hdr.id), in CcpDecodeConfig()
643 protoname(algorithm[f]->id)); in CcpDecodeConfig()
654 fp->link->name, protoname(algorithm[f]->id)); in CcpDecodeConfig()
H A Dipv6cp.c649 protoname(unsigned proto) in protoname() function
698 snprintf(tbuff, sizeof tbuff, " %s[%d]", protoname(opt->hdr.id), in ipv6cp_DecodeConfig()
H A Dlcp.c119 protoname(unsigned proto) in protoname() function
681 snprintf(request, sizeof request, " %s[%d]", protoname(opt->hdr.id), in LcpDecodeConfig()
H A Dipcp.c138 protoname(int proto) in protoname() function
1073 snprintf(tbuff, sizeof tbuff, " %s[%d]", protoname(opt->hdr.id), in IpcpDecodeConfig()
/freebsd/lib/libc/rpc/
H A Dnetconfig8 # <network_id> <semantics> <flags> <protofamily> <protoname> \
/freebsd/sbin/pfctl/
H A Dpf_print_state.c242 const char *protoname; in print_state() local
277 if ((protoname = pfctl_proto2name(proto)) != NULL) in print_state()
278 printf("%s ", protoname); in print_state()
H A Dpfctl_parser.c956 const char *protoname; in print_rule() local
958 if ((protoname = pfctl_proto2name(r->proto)) != NULL) in print_rule()
959 printf(" proto %s", protoname); in print_rule()
H A Dparse.y5790 const char *protoname; in expand_label_proto() local
5794 protoname = pfctl_proto2name(proto); in expand_label_proto()
5795 if (protoname != NULL) in expand_label_proto()
5796 expand_label_str(label, len, name, protoname); in expand_label_proto()
/freebsd/usr.sbin/edquota/
H A Dedquota.c110 char *protoname, *cp, *endpt, *oldoptarg; in main() local
122 protoname = NULL; in main()
134 protoname = optarg; in main()
221 if ((protoid = getentry(protoname, quotatype)) == -1) in main()