Searched refs:proto (Results 76 - 100 of 470) sorted by relevance

1234567891011>>

/freebsd-9.3-release/contrib/ipfilter/perl/
H A Dplog180 2 => 'proto-unr',
443 my ($pnum, $proto) = ($1, $2);
450 $pname = "$pnum/$proto";
453 $pname = "$name/$proto";
515 my ($count, $if, $group, $rule, $act, $src, $dest, $proto, $hlen, $len, $more) = @fields;
525 if ($proto eq 'icmp')
544 if (($proto eq 'tcp') && ($more =~ s/^\-([A-Z]+)\s*//))
555 $sport = &portSimplify ($1, $proto);
563 $dport = &portSimplify ($1, $proto);
609 # Convert proto t
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/utils/TableGen/
H A DNeonEmitter.cpp1163 // If NormedProto.size() == 4 and the first two proto characters are the
1227 // We first normalize our proto, since we only need to emit 4
1228 // different types of checks, yet have more than 4 proto types
1422 static bool UseMacro(const std::string &proto) { argument
1426 if (proto.find('i') != std::string::npos)
1431 if (proto.find('p') != std::string::npos ||
1432 proto.find('c') != std::string::npos)
1441 static bool MacroArgUsedDirectly(const std::string &proto, unsigned i) { argument
1443 return (proto[i] == 'i' || proto[
1447 GenArgs(const std::string &proto, StringRef typestr, const std::string &name) argument
1479 GenMacroLocals(const std::string &proto, StringRef typestr, const std::string &name ) argument
1622 GenOpString(const std::string &name, OpKind op, const std::string &proto, StringRef typestr) argument
2249 GetNeonEnum(const std::string &proto, StringRef typestr) argument
2300 ProtoHasScalar(const std::string proto) argument
2312 GenBuiltin(const std::string &name, const std::string &proto, StringRef typestr, ClassKind ck) argument
2435 GenBuiltinDef(const std::string &name, const std::string &proto, StringRef typestr, ClassKind ck) argument
2460 GenIntrinsic(const std::string &name, const std::string &proto, StringRef outTypeStr, StringRef inTypeStr, OpKind kind, ClassKind classKind) argument
3237 GenTest(const std::string &name, const std::string &proto, StringRef outTypeStr, StringRef inTypeStr, bool isShift, bool isHiddenLOp, ClassKind ck, const std::string &InstName, bool isA64, std::string & testFuncProto) argument
[all...]
/freebsd-9.3-release/contrib/ipfilter/rules/
H A DBASIC_2.FW59 pass in log quick proto tcp all flags S/SA keep state group 200
65 pass in log quick proto icmp all keep state group 200
70 block return-rst in log proto tcp from any to any flags S/SA group 100
72 block return-icmp(net-unr) in proto udp all group 100
/freebsd-9.3-release/contrib/openbsm/bin/auditdistd/
H A DMakefile.am22 proto.c \
/freebsd-9.3-release/gnu/usr.bin/cvs/lib/
H A DMakefile28 config.h: config.h.proto ${CVSDIR}/configure
35 ${.ALLSRC:M*config.h.proto} > ${.TARGET}
/freebsd-9.3-release/sys/contrib/ngatm/netnatm/api/
H A Dunisap.h57 u_int proto:5; /* the protocol */ member in struct:unisve_blli_id2
63 u_int proto:5; /* L3 protocol */ member in struct:unisve_blli_id3
H A Dunisap.c184 return (s1->proto == s2->proto &&
185 (s1->proto != UNI_BLLI_L2_USER || s1->user == s2->user));
194 if (s1->proto != s2->proto)
196 if (s1->proto == UNI_BLLI_L3_USER)
198 if (s1->proto == UNI_BLLI_L3_TR9577) {
328 if (blli->l2 != sap->blli_id2.proto)
355 if (blli->l3 != sap->blli_id3.proto)
/freebsd-9.3-release/sys/netipsec/
H A Dxform.h60 u_int8_t proto; member in struct:tdb_ident
112 extern int ip4_input6(struct mbuf **m, int *offp, int proto);
/freebsd-9.3-release/sbin/fsck_ffs/
H A Dpass2.c282 struct direct proto; local
307 proto.d_ino = idesc->id_number;
308 proto.d_type = DT_DIR;
309 proto.d_namlen = 1;
310 (void)strcpy(proto.d_name, ".");
311 entrysize = DIRSIZ(0, &proto);
318 proto.d_reclen = dirp->d_reclen;
319 memmove(dirp, &proto, (size_t)entrysize);
324 proto.d_reclen = entrysize;
325 memmove(dirp, &proto, (size_
[all...]
/freebsd-9.3-release/sys/netinet/libalias/
H A Dalias_mod.c143 (b->proto == p->proto))
222 find_handler(int8_t dir, int8_t proto, struct libalias *la, __unused struct ip *pip, argument
231 if ((p->dir & dir) && (p->proto & proto))
/freebsd-9.3-release/usr.sbin/ppp/
H A Dasync.c47 #include "proto.h"
84 async_Encode(struct async *async, u_char **cp, u_char c, int proto) argument
89 if ((c < 0x20 && (proto == PROTO_LCP || (async->his_accmap & (1 << c))))
104 int pri __unused, u_short *proto)
126 async_Encode(&p->async, &cp, *sp++, *proto);
191 u_short *proto __unused)
103 async_LayerPush(struct bundle *b __unused, struct link *l, struct mbuf *bp, int pri __unused, u_short *proto) argument
H A Dpred.c175 int pri __unused, u_short *proto, struct mbuf *bp)
184 orglen = m_length(bp) + 2; /* add count of proto */
190 *cp++ = *proto >> 8;
191 *cp++ = *proto & 0377;
212 *proto = ccp_Proto(ccp);
217 Pred1Input(void *v, struct ccp *ccp, u_short *proto, struct mbuf *bp) argument
267 *proto = *pp++;
268 if (*proto & 1) {
274 *proto = (*proto <<
174 Pred1Output(void *v, struct ccp *ccp, struct link *l __unused, int pri __unused, u_short *proto, struct mbuf *bp) argument
[all...]
H A Dnat_cmd.c52 #include "proto.h"
112 const char *proto; local
122 proto = arg->argv[arg->argn];
123 if (strcmp(proto, "tcp") == 0) {
125 } else if (strcmp(proto, "udp") == 0) {
134 &hlocalport, proto);
141 proto);
150 &lremoteport, &hremoteport, proto);
252 prompt_Printf(arg->prompt, "proto redirect: invalid protocol\n");
260 prompt_Printf(arg->prompt, "proto redirec
325 StrToPort(const char *str, u_short *port, const char *proto) argument
345 StrToPortRange(const char *str, u_short *low, u_short *high, const char *proto) argument
370 StrToAddrAndPort(const char *str, struct in_addr *addr, u_short *low, u_short *high, const char *proto) argument
498 nat_LayerPush(struct bundle *bundle, struct link *l __unused, struct mbuf *bp, int pri __unused, u_short *proto) argument
515 nat_LayerPull(struct bundle *bundle, struct link *l __unused, struct mbuf *bp, u_short *proto) argument
[all...]
H A Ddeflate.c70 int pri __unused, u_short *proto, struct mbuf *mp)
78 log_Printf(LogDEBUG, "DeflateOutput: Proto %02x (%d bytes)\n", *proto, ilen);
85 if (*proto < 0x100) { /* Compress the protocol */
86 rp[0] = *proto & 0377;
89 rp[0] = *proto >> 8;
90 rp[1] = *proto & 0377;
155 ilen, olen, *proto);
180 log_Printf(LogDEBUG, "DeflateOutput: %d => %d bytes, proto 0x%04x\n",
181 ilen, olen, *proto);
183 *proto
69 DeflateOutput(void *v, struct ccp *ccp, struct link *l __unused, int pri __unused, u_short *proto, struct mbuf *mp) argument
199 DeflateInput(void *v, struct ccp *ccp, u_short *proto, struct mbuf *mi) argument
337 DeflateDictSetup(void *v, struct ccp *ccp, u_short proto, struct mbuf *mi) argument
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/krb5/
H A Dkrbhst.c54 * `proto', `proto', `realm' using `dns_type'.
61 const char *proto, const char *service, int port)
73 proto_num = string_to_proto(proto);
75 krb5_set_error_string(context, "unknown protocol `%s'", proto);
82 def_port = ntohs(krb5_getportbyname (context, service, proto, 88));
86 snprintf(domain, sizeof(domain), "_%s._%s.%s.", service, proto, realm);
121 hi->proto = proto_num;
195 hi->proto = krbhst_get_default_proto(kd);
198 hi->proto
59 srv_find_realm(krb5_context context, krb5_krbhst_info ***res, int *count, const char *realm, const char *dns_type, const char *proto, const char *service, int port) argument
303 const char *proto = ""; local
320 make_hints(struct addrinfo *hints, int proto) argument
372 srv_get_hosts(krb5_context context, struct krb5_krbhst_data *kd, const char *proto, const char *service) argument
418 fallback_get_hosts(krb5_context context, struct krb5_krbhst_data *kd, const char *serv_string, int port, int proto) argument
[all...]
/freebsd-9.3-release/contrib/less/
H A Doptfunc.c388 register char **proto; local
400 case 's': proto = &prproto[PR_SHORT]; s++; break;
401 case 'm': proto = &prproto[PR_MEDIUM]; s++; break;
402 case 'M': proto = &prproto[PR_LONG]; s++; break;
403 case '=': proto = &eqproto; s++; break;
404 case 'h': proto = &hproto; s++; break;
405 case 'w': proto = &wproto; s++; break;
406 default: proto = &prproto[PR_SHORT]; break;
408 free(*proto);
409 *proto
[all...]
/freebsd-9.3-release/contrib/tcpdump/
H A Dprint-ppp.c411 static void handle_ctrl_proto (u_int proto,const u_char *p, int length);
421 static void handle_ppp (u_int proto, const u_char *p, int length);
426 handle_ctrl_proto(u_int proto, const u_char *pptr, int length) argument
436 typestr = tok2str(ppptype2str, "unknown ctrl-proto (0x%04x)", proto);
486 switch (proto) {
1272 int i, proto; local
1300 proto = *b; /* start with a one-octet codepoint guess */
1302 switch (proto) {
1315 proto
1336 handle_ppp(u_int proto, const u_char *p, int length) argument
1401 u_int proto,ppp_header; local
1539 u_int proto; local
[all...]
/freebsd-9.3-release/lib/libbluetooth/
H A Dbluetooth.c52 static struct protoent proto; variable in typeref:struct:protoent
194 bt_getprotobynumber(int proto) argument
200 if (p->p_proto == proto)
225 proto.p_name = p;
233 proto.p_proto = atoi(cp);
234 q = proto.p_aliases = proto_aliases;
250 return (&proto);
/freebsd-9.3-release/lib/libipsec/
H A Dipsec_dump_policy.c182 const char *proto, *mode, *level; local
192 proto = "esp";
195 proto = "ah";
198 proto = "ipcomp";
201 proto = "tcp";
261 snprintf(buf, len, "%s/%s/%s/%s", proto, mode, abuf, level);
269 snprintf(buf, len, "%s/%s/%s/%s%c%u", proto, mode, abuf, level,
/freebsd-9.3-release/contrib/sendmail/contrib/
H A Detrn.pl112 my ($proto) = (getprotobyname('tcp'))[2];
128 socket(S, &PF_INET, &SOCK_STREAM, $proto)
157 socket(S, &PF_INET, &SOCK_STREAM, $proto)
/freebsd-9.3-release/sys/netgraph/
H A Dng_nat.h67 uint8_t proto; member in struct:ng_nat_redirect_port
79 { "proto", &ng_parse_uint8_type }, \
104 uint8_t proto; member in struct:ng_nat_redirect_proto
113 { "proto", &ng_parse_uint8_type }, \
142 uint16_t proto; /* Valid proto or NG_NAT_REDIRPROTO_ADDR */ member in struct:ng_nat_listrdrs_entry
156 { "proto", &ng_parse_uint16_type }, \
/freebsd-9.3-release/tools/tools/ether_reflect/
H A Dether_reflect.c67 char *proto = ETHER_TYPE_TEST; local
83 proto = optarg;
115 snprintf(&in_string[0], MAXPROG, "ether proto %s\n", proto);
/freebsd-9.3-release/contrib/expat/examples/
H A Delements.c12 #include <proto/expat.h>
/freebsd-9.3-release/contrib/one-true-awk/
H A Dmakefile41 SOURCE = awk.h ytab.c ytab.h proto.h awkgram.y lex.c b.c main.c \
44 LISTING = awk.h proto.h awkgram.y lex.c b.c main.c maketab.c parse.c \
53 $(OFILES): awk.h ytab.h proto.h
55 ytab.o: awk.h proto.h awkgram.y
/freebsd-9.3-release/contrib/wpa/src/l2_packet/
H A Dl2_packet.h89 * @proto: Protocol/ethertype for the packet in host byte order (only used if
97 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto,

Completed in 277 milliseconds

1234567891011>>