Searched refs:proto (Results 126 - 150 of 578) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/netinet/libalias/
H A Dalias_proxy.c98 u_char proto; member in struct:proxy_entry
176 IpPort(char *s, int proto, int *port) argument
186 if (proto == IPPROTO_TCP)
188 else if (proto == IPPROTO_UDP)
478 && ip_p == ptr->proto
535 * [proto tcp|udp]
561 int proto; local
591 proto = IPPROTO_TCP;
630 else if (strcmp(token, "proto") == 0)
729 proto
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dremote-utils.c83 usage (char *proto, char *junk) argument
89 where DEVICE is the name of a device or HOST:PORT", proto);
101 usage(proto, p); \
106 sr_scan_args (char *proto, char *args) argument
144 usage (proto, p);
/freebsd-11-stable/lib/libipsec/
H A Dtest-policy.c157 int proto = 0, optname = 0; local
163 proto = IPPROTO_IP;
167 proto = IPPROTO_IPV6;
180 if (setsockopt(so, proto, optname, policy, len) < 0) {
188 if (getsockopt(so, proto, optname, getbuf, &len) < 0) {
/freebsd-11-stable/usr.bin/systat/
H A Dnetcmds.c83 if (prefix(cmd, "proto")) {
87 addstr("which proto?");
167 selectproto(const char *proto) argument
170 if (proto == NULL || streq(proto, "all"))
172 else if (streq(proto, "tcp"))
174 else if (streq(proto, "udp"))
/freebsd-11-stable/stand/common/
H A Dinstall.c193 struct fs_ops *proto; local
206 proto = &tftp_fsops;
212 proto = NULL;
215 proto = &dosfs_fsops;
251 error = pkgfs_init(buf, proto);
/freebsd-11-stable/contrib/tcpdump/
H A Dprint-juniper.c420 uint16_t proto; member in struct:juniper_l2info_t
461 uint8_t proto; member in struct:juniper_ggsn_header
477 ND_PRINT((ndo, "proto %s (%u), vlan %u: ",
478 tok2str(juniper_protocol_values,"Unknown",gh->proto),
479 gh->proto,
483 switch (gh->proto) {
492 ND_PRINT((ndo, "unknown GGSN proto (%u)", gh->proto));
608 /* no proto field - lets guess by first byte of IP header*/
648 /* no proto fiel
[all...]
/freebsd-11-stable/sys/netpfil/ipfw/
H A Dip_fw2.c862 * XXX: unreach proto should be mapped into ICMPv6
875 if (code == ICMP6_UNREACH_RST && args->f_id.proto == IPPROTO_TCP) {
890 args->f_id.proto == IPPROTO_SCTP) {
996 } else if (code == ICMP_REJECT_RST && args->f_id.proto == IPPROTO_TCP) {
1009 args->f_id.proto == IPPROTO_SCTP) {
1094 return cred_check(insn, proto, oif,
1130 if (id->proto == IPPROTO_TCP) {
1133 } else if (id->proto == IPPROTO_UDP) {
1136 } else if (id->proto == IPPROTO_UDPLITE) {
1388 * proto Th
1398 uint8_t proto; local
[all...]
/freebsd-11-stable/sys/net/
H A Dflowtable.c196 uint8_t proto; local
210 proto = ip->ip_p;
212 switch (proto) {
248 fibnum |= proto << 16;
304 uint8_t proto; local
317 proto = ip6->ip6_nxt;
321 switch (proto) {
351 proto = ((struct ip6_hbh *)ulp)->ip6h_nxt;
357 proto = ((struct ip6_rthdr *)ulp)->ip6r_nxt;
363 proto
470 uint8_t proto; local
514 uint8_t proto; local
[all...]
/freebsd-11-stable/contrib/gcclibs/include/
H A Dansidecl.h193 #define EXFUN(name, proto) name proto
232 #define EXFUN(name, proto) name()
/freebsd-11-stable/contrib/gdb/include/
H A Dansidecl.h188 #define EXFUN(name, proto) name proto
227 #define EXFUN(name, proto) name()
/freebsd-11-stable/contrib/binutils/include/
H A Dansidecl.h193 #define EXFUN(name, proto) name proto
232 #define EXFUN(name, proto) name()
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
H A Decore_rdma.h81 #define IS_IWARP(_p_hwfn) (_p_hwfn->p_rdma_info->proto == PROTOCOLID_IWARP)
82 #define IS_ROCE(_p_hwfn) (_p_hwfn->p_rdma_info->proto == PROTOCOLID_ROCE)
135 enum protocol_type proto; member in struct:ecore_rdma_info
/freebsd-11-stable/contrib/ipfilter/lib/
H A Dprintaps.c21 printaps(aps, opts, proto)
23 int opts, proto;
45 if ((proto == IPPROTO_TCP) && (opts & OPT_VERBOSE)) {
/freebsd-11-stable/contrib/ntp/libntp/
H A Dntp_rfc2553.c288 const char *proto = NULL; local
320 proto = "tcp";
323 proto = "udp";
333 proto = "tcp";
336 proto = "udp";
390 sp = getservbyname(servname, proto);
/freebsd-11-stable/sys/netnatm/
H A Dnatm.c121 natm_usr_attach(struct socket *so, int proto, struct thread *p) argument
130 if (proto == PROTO_NATMAAL5)
166 int proto = so->so_proto->pr_protocol; local
221 op.param.aal = (proto == PROTO_NATMAAL5) ? ATMIO_AAL_5 : ATMIO_AAL_0;
280 int proto = so->so_proto->pr_protocol; local
305 ATM_PH_FLAGS(aph) = (proto == PROTO_NATMAAL5) ? ATM_PH_AAL5 : 0;
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_mount.c135 is_shared(libzfs_handle_t *hdl, const char *mountpoint, zfs_share_proto_t proto) argument
166 proto_table[proto].p_name) == 0) {
167 switch (proto) {
177 if (proto == PROTO_NFS)
565 zfs_is_shared_proto(zfs_handle_t *zhp, char **where, zfs_share_proto_t proto) argument
573 if ((rc = is_shared(zhp->zfs_hdl, mountpoint, proto))
771 * zfs_parse_options(options, proto)
777 zfs_parse_options(char *options, zfs_share_proto_t proto) argument
782 proto_table[proto].p_name));
806 * zfs_sa_enable_share(share, proto)
812 zfs_sa_enable_share(sa_share_t share, char *proto) argument
826 zfs_sa_disable_share(sa_share_t share, char *proto) argument
840 zfs_share_proto(zfs_handle_t *zhp, zfs_share_proto_t *proto) argument
968 unshare_one(libzfs_handle_t *hdl, const char *name, const char *mountpoint, zfs_share_proto_t proto) argument
1038 zfs_unshare_proto(zfs_handle_t *zhp, const char *mountpoint, zfs_share_proto_t *proto) argument
1091 zfs_unshareall_proto(zfs_handle_t *zhp, zfs_share_proto_t *proto) argument
[all...]
/freebsd-11-stable/crypto/heimdal/appl/test/
H A Dnt_gss_client.c46 proto (int sock, const char *hostname, const char *service) function
166 return client_doit (argv[argc], port, service, proto);
H A Dtcp_server.c40 proto (int sock, const char *service) function
160 return proto (STDIN_FILENO, service);
/freebsd-11-stable/crypto/heimdal/lib/ntlm/
H A DMakefile.am30 cd $(srcdir) && perl ../../cf/make-proto.pl -q -P comment -o heimntlm-protos.h $(dist_libheimntlm_la_SOURCES) || rm -f heimntlm-protos.h
/freebsd-11-stable/contrib/libpcap/msdos/
H A Dpktdrvr.h87 WORD proto; member in struct:__anon623
97 WORD proto; /* protocol number */ member in struct:__anon624
/freebsd-11-stable/usr.sbin/ppp/
H A Dccp.c53 #include "proto.h"
113 protoname(int proto) argument
138 if (proto < 0 || (unsigned)proto > sizeof cftypes / sizeof *cftypes ||
139 cftypes[proto] == NULL) {
140 if (proto == -1)
142 return HexStr(proto, NULL, 0);
145 return cftypes[proto];
721 int pri, u_short *proto)
723 if (PROTO_COMPRESSIBLE(*proto)) {
720 ccp_LayerPush(struct bundle *b __unused, struct link *l, struct mbuf *bp, int pri, u_short *proto) argument
750 ccp_LayerPull(struct bundle *b __unused, struct link *l, struct mbuf *bp, u_short *proto) argument
[all...]
H A Dtcpmss.c174 struct mbuf *bp, int pri __unused, u_short *proto __unused)
181 struct mbuf *bp, u_short *proto __unused)
/freebsd-11-stable/sys/conf/
H A Dsysent.mk9 COMMON_GENERATED= proto.h \
/freebsd-11-stable/contrib/ipfilter/tools/
H A Dipmon.c476 char *portlocalname(res, proto, port)
478 char *proto;
490 if (!strcmp(proto, "tcp"))
492 else if (!strcmp(proto, "udp"))
648 char *proto; local
771 proto = getlocalproto(nl->nl_p[0]);
777 portlocalname(res, proto, (u_int)nl->nl_osrcport));
780 portlocalname(res, proto, (u_int)nl->nl_nsrcport));
783 portlocalname(res, proto, (u_int)nl->nl_odstport));
786 portlocalname(res, proto, (u_in
835 char *t, *proto; local
1050 char *t, *proto; local
[all...]
/freebsd-11-stable/release/picobsd/tinyware/ns/
H A Dns.c81 fprintf(stderr, "\n%s [-nrsil] [-p proto] [-w wait]\n", progname);
82 fprintf(stderr, " proto: {ip|tcp|udp|icmp}\n\n");
237 print_routing(char *proto) argument
697 stats(char *proto) argument
702 if (proto == NULL) {
707 if (strcmp(proto, "ip") == 0)
709 if (strcmp(proto, "icmp") == 0)
711 if (strcmp(proto, "udp") == 0)
713 if (strcmp(proto, "tcp") == 0)
728 char *proto local
[all...]

Completed in 270 milliseconds

1234567891011>>