/freebsd-current/share/examples/ipfilter/rules/ |
H A D | ipmon.conf | 11 match { protocol = udp, result = block; } 14 match { protocol = tcp, result = block, dstport = 25; } 23 protocol = udp, srcip = 10.1.0.0/16, dstip = 192.168.1.0/24; }
|
/freebsd-current/contrib/libpcap/rpcapd/ |
H A D | rpcapd.xinetd.conf | 3 protocol = tcp
|
/freebsd-current/contrib/netbsd-tests/lib/libc/net/getaddrinfo/ |
H A D | basics_v4.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv http 2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http 3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http 5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv http 6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv http 10 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 11 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 13 arg: flags 0x2 family 0 socktype 0 protocol [all...] |
H A D | spec_fam_v4v6.exp | 1 arg: flags 0x2 family 2 socktype 0 protocol 0 addrlen 0 host localhost serv http 2 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 3 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 5 arg: flags 0x2 family 24 socktype 0 protocol 0 addrlen 0 host localhost serv http 6 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http 7 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http
|
H A D | basics_v4v6.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv http 2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http 3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http 5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv http 6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv http 10 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http 11 ai2: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 12 ai3: flags 0x2 family 24 socktype 1 protocol [all...] |
H A D | sock_raw_v4.exp | 1 arg: flags 0x2 family 0 socktype 3 protocol 0 addrlen 0 host localhost serv (empty) 2 ai1: flags 0x2 family 2 socktype 3 protocol 0 addrlen 16 host 127.0.0.1 serv 0 4 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv (empty) 5 ai1: flags 0x2 family 2 socktype 3 protocol 59 addrlen 16 host 127.0.0.1 serv 0 7 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv 80 9 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv www 11 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host ::1 serv (empty) 12 ai1: flags 0x2 family 24 socktype 3 protocol 59 addrlen 28 host ::1 serv 0
|
H A D | spec_fam_v4.exp | 1 arg: flags 0x2 family 2 socktype 0 protocol 0 addrlen 0 host localhost serv http 2 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 3 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 5 arg: flags 0x2 family 24 socktype 0 protocol 0 addrlen 0 host localhost serv http
|
H A D | unsup_fam.exp | 1 arg: flags 0x2 family 99 socktype 0 protocol 0 addrlen 0 host localhost serv (empty)
|
H A D | no_serv_v4v6.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv (empty) 2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 0 3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 0 5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv (empty) 6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0 7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 0 9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv (empty) 10 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 0 11 ai2: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0 12 ai3: flags 0x2 family 24 socktype 1 protocol [all...] |
H A D | scoped.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host fe80::1%lo0 serv http 2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host fe80::1%lo0 serv http 3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host fe80::1%lo0 serv http
|
H A D | no_host_v4v6.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv http 2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http 3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http 4 ai3: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 5 ai4: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 7 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv echo 8 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv echo 9 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv echo 10 ai3: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv echo 11 ai4: flags 0x2 family 2 socktype 1 protocol [all...] |
H A D | no_host_v4.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv http 2 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 3 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv echo 6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv echo 7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv echo 9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv tftp 10 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv tftp 11 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv tftp 13 arg: flags 0x2 family 0 socktype 0 protocol [all...] |
H A D | no_serv_v4.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv (empty) 2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 0 3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 0 5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv (empty) 6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0 7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 0 9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv (empty) 10 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0 11 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 0 13 arg: flags 0x2 family 0 socktype 0 protocol [all...] |
H A D | sock_raw_v4v6.exp | 1 arg: flags 0x2 family 0 socktype 3 protocol 0 addrlen 0 host localhost serv (empty) 2 ai1: flags 0x2 family 24 socktype 3 protocol 0 addrlen 28 host ::1 serv 0 3 ai2: flags 0x2 family 2 socktype 3 protocol 0 addrlen 16 host 127.0.0.1 serv 0 5 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv (empty) 6 ai1: flags 0x2 family 24 socktype 3 protocol 59 addrlen 28 host ::1 serv 0 7 ai2: flags 0x2 family 2 socktype 3 protocol 59 addrlen 16 host 127.0.0.1 serv 0 9 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv 80 11 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv www 13 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host ::1 serv (empty) 14 ai1: flags 0x2 family 24 socktype 3 protocol 5 [all...] |
/freebsd-current/sys/contrib/openzfs/lib/libshare/ |
H A D | libshare.c | 63 const char *shareopts, enum sa_protocol protocol) 65 VALIDATE_PROTOCOL(protocol, SA_INVALID_PROTOCOL); 69 return (fstypes[protocol]->enable_share(&args)); 73 sa_disable_share(const char *mountpoint, enum sa_protocol protocol) argument 75 VALIDATE_PROTOCOL(protocol, SA_INVALID_PROTOCOL); 78 return (fstypes[protocol]->disable_share(&args)); 82 sa_is_shared(const char *mountpoint, enum sa_protocol protocol) argument 84 VALIDATE_PROTOCOL(protocol, B_FALSE); 87 return (fstypes[protocol]->is_shared(&args)); 91 sa_commit_shares(enum sa_protocol protocol) argument 62 sa_enable_share(const char *zfsname, const char *mountpoint, const char *shareopts, enum sa_protocol protocol) argument 100 sa_truncate_shares(enum sa_protocol protocol) argument 110 sa_validate_shareopts(const char *options, enum sa_protocol protocol) argument [all...] |
/freebsd-current/contrib/lib9p/pytest/ |
H A D | Makefile | 4 for f in lerrno p9err pfod protocol sequencer; do \
|
H A D | p9conn.py | 27 import protocol namespace 34 # (move to protocol.py?) We use pfod here instead of 41 qt2n = protocol.qid_type2name 157 Now available for normal protocol (size-prefixed) I/O. 312 We need the a logger (see logging), a timeout, and a protocol 329 self.iproto = protocol.p9_version(version) 336 self.fidalloc = numalloc.NumAlloc(0, protocol.td.NOFID - 1) 599 resp = protocol.plain.unpack(pkt) 600 except protocol.SequenceError as err: 605 except protocol [all...] |
/freebsd-current/share/examples/printing/ |
H A D | netprint | 14 ($ignore, $ignore, $protocol) = getprotobyname('tcp'); 20 socket(PRINTER, &PF_INET, &SOCK_STREAM, $protocol)
|
/freebsd-current/crypto/heimdal/appl/gssmask/ |
H A D | Makefile.am | 7 gssmask_SOURCES = gssmask.c common.c common.h protocol.h 9 gssmaestro_SOURCES = gssmaestro.c common.c common.h protocol.h
|
/freebsd-current/tools/regression/sockets/fstat/ |
H A D | fstat.c | 41 dotest(int domain, int type, int protocol) argument 46 sock = socket(domain, type, protocol); 48 err(-1, "socket(%d, %d, %d)", domain, type, protocol); 52 protocol);
|
/freebsd-current/contrib/opencsd/decoder/include/common/ |
H A D | ocsd_dcd_tree_elem.h | 47 * Element describes the protocol supported for this element and 55 ocsd_trace_protocol_t protocol;//!< protocol type member in struct:_decoder_elements 79 ocsd_trace_protocol_t getProtocol() const { return protocol; }; 88 protocol = OCSD_PROTOCOL_END; 97 protocol = OCSD_PROTOCOL_UNKNOWN; 99 protocol = dcd_mngr->getProtocolType();
|
/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | getaddrinfo.c | 46 int *protocol, 61 *protocol = protoent->p_proto; 70 *protocol = IPPROTO_TCP; 74 *protocol = IPPROTO_UDP; 80 *protocol = IPPROTO_TCP; 84 *protocol = IPPROTO_UDP; 104 add_one (int port, int protocol, int socktype, argument 119 a->ai_protocol = protocol; 181 int port, int protocol, int socktype, 210 ret = add_one (port, protocol, socktyp 43 get_port_protocol_socktype(const char *servname, const struct addrinfo *hints, int *port, int *protocol, int *socktype) argument 180 get_null(const struct addrinfo *hints, int port, int protocol, int socktype, struct addrinfo **res) argument 225 add_hostent(int port, int protocol, int socktype, struct addrinfo ***current, int (*func)(struct addrinfo *, void *data, int port), struct hostent *he, int *flags) argument 273 get_number(const char *nodename, const struct addrinfo *hints, int port, int protocol, int socktype, struct addrinfo **res) argument 313 get_nodes(const char *nodename, const struct addrinfo *hints, int port, int protocol, int socktype, struct addrinfo **res) argument 378 int protocol = 0; local [all...] |
/freebsd-current/stand/efi/libefi/ |
H A D | libefi.c | 52 OpenProtocolByHandle(EFI_HANDLE handle, EFI_GUID *protocol, void **interface) argument 54 return (BS->OpenProtocol(handle, protocol, interface, IH, NULL,
|
/freebsd-current/lib/libc/rpc/ |
H A D | pmap_clnt.c | 58 pmap_set(u_long program, u_long version, int protocol, int port) argument 65 if ((protocol != IPPROTO_UDP) && (protocol != IPPROTO_TCP)) { 68 nconf = __rpc_getconfip(protocol == IPPROTO_UDP ? "udp" : "tcp");
|
/freebsd-current/crypto/openssl/apps/lib/ |
H A D | s_socket.c | 66 * @protocol: socket protocol, e.g. IPPROTO_TCP or IPPROTO_UDP (or 0 for any) 79 int family, int type, int protocol) 91 ret = BIO_lookup_ex(host, port, BIO_LOOKUP_CLIENT, family, type, protocol, 100 family, type, protocol, &bindaddr); 115 && (protocol == 0 116 || protocol == BIO_ADDRINFO_protocol(ai))); 147 if (protocol == IPPROTO_SCTP) { 260 int family, int type, int protocol, do_server_cb cb, 278 if (!BIO_lookup_ex(host, port, BIO_LOOKUP_SERVER, family, type, protocol, 77 init_client(int *sock, const char *host, const char *port, const char *bindhost, const char *bindport, int family, int type, int protocol) argument 259 do_server(int *accept_sock, const char *host, const char *port, int family, int type, int protocol, do_server_cb cb, unsigned char *context, int naccept, BIO *bio_s_out) argument [all...] |