Searched refs:proto (Results 1 - 25 of 586) sorted by last modified time

1234567891011>>

/freebsd-current/sys/netpfil/pf/
H A Dpf_nl.c56 uint16_t proto; member in struct:nl_parsed_state
68 { .type = PF_ST_AF, .off = _OUT(proto), .cb = nlattr_get_uint8 },
69 { .type = PF_ST_PROTO, .off = _OUT(proto), .cb = nlattr_get_uint16 },
166 nlattr_add_u8(nw, PF_ST_PROTO, s->key[PF_SK_WIRE]->proto);
249 if (attrs->proto != 0 && s->key[PF_SK_WIRE]->proto != attrs->proto)
712 { .type = PF_RT_PROTO, .off = _OUT(proto), .cb = nlattr_get_uint8 },
954 nlattr_add_u8(nw, PF_RT_PROTO, rule->proto);
H A Dpf.c563 switch (pd->proto) {
710 s->key[PF_SK_STACK]->proto == IPPROTO_TCP &&
1318 if (sk->proto == IPPROTO_TCP &&
1501 sk->proto = pd->proto;
2178 s->key[PF_SK_STACK]->proto == IPPROTO_TCP)
2399 u_int8_t proto, dir; local
2404 proto = skw ? skw->proto : (sks ? sks->proto
4167 uint16_t proto; local
[all...]
/freebsd-current/sys/netinet/
H A Dtcp_input.c562 tcp6_input_with_port(struct mbuf **mp, int *offp, int proto, uint16_t port) argument
592 return (tcp_input_with_port(mp, offp, proto, port));
596 tcp6_input(struct mbuf **mp, int *offp, int proto) argument
599 return(tcp6_input_with_port(mp, offp, proto, 0));
604 tcp_input_with_port(struct mbuf **mp, int *offp, int proto, uint16_t port) argument
1498 tcp_input(struct mbuf **mp, int *offp, int proto) argument
1500 return(tcp_input_with_port(mp, offp, proto, 0));
H A Dtcp_usrreq.c156 tcp_usr_attach(struct socket *so, int proto, struct thread *td) argument
H A Dip_fw.h507 int proto; /* protocol: tcp/udp */ member in struct:cfg_redir
561 uint32_t proto; /* protocol: tcp/udp */ member in struct:nat44_cfg_redir
706 uint8_t proto; member in struct:ipfw_flow_id
878 uint8_t proto; member in struct:tflow_entry
H A Dsctp_input.c5810 sctp_input(struct mbuf **mp, int *offp, int proto SCTP_UNUSED)
/freebsd-current/sys/net/
H A Dpfvar.h720 uint16_t proto; member in struct:pf_keth_rule
832 u_int8_t proto; member in struct:pf_krule
933 u_int8_t proto; member in struct:pf_state_key_cmp
941 u_int8_t proto; member in struct:pf_state_key
1003 uint8_t proto; member in struct:pf_state_export
1125 u_int8_t proto; member in struct:pfsync_state_1301
1152 u_int8_t proto; member in struct:pfsync_state_1400
1580 u_int8_t proto; member in struct:pf_pdesc
1754 u_int8_t proto; member in struct:pfioc_natlook
H A Dif_vlan.c192 #define ifv_proto ifv_qtag.proto
315 uint16_t proto);
1079 uint16_t proto = ETHERTYPE_VLAN; local
1107 proto = vlr.vlr_proto;
1108 if (proto == 0)
1109 proto = ETHERTYPE_VLAN;
1211 error = vlan_config(ifv, p, vid, proto);
1684 uint16_t proto)
1715 ifv->ifv_proto = proto;
1757 ifv->ifv_proto = proto;
1683 vlan_config(struct ifvlan *ifv, struct ifnet *p, uint16_t vid, uint16_t proto) argument
[all...]
/freebsd-current/sys/modules/
H A DMakefile323 proto \
/freebsd-current/sbin/pfctl/
H A Dpfctl_optimize.c163 PF_RULE_FIELD(proto, NOMERGE),
250 { "proto", PF_SKIP_PROTO, skip_cmp_proto }, \
388 * since they aren't actually checked on a proto mismatch in
390 * XXX should i treat proto=0, af=0 or dir=0 special in skepstep
1071 /* XXX if (a->proto != b->proto && a->proto != 0 && b->proto != 0
1072 * && (a->proto == IPPROTO_TCP || a->proto
[all...]
H A Dpfctl.c287 pfctl_proto2name(int proto) argument
292 if (proto >= nitems(pfctl_proto_cache)) {
293 p = getprotobynumber(proto);
300 if (pfctl_proto_cache[proto] == NULL) {
301 p = getprotobynumber(proto);
305 pfctl_proto_cache[proto] = strdup(p->p_name);
308 return (pfctl_proto_cache[proto]);
/freebsd-current/lib/libpfctl/
H A Dlibpfctl.h97 uint16_t proto; member in struct:pfctl_eth_rule
236 uint8_t proto; member in struct:pfctl_rule
306 int proto; member in struct:pfctl_kill
328 uint8_t proto; member in struct:pfctl_state_key
443 uint16_t proto; member in struct:pfctl_state_filter
H A Dlibpfctl.c776 rule->proto = nvlist_get_number(nvl, "proto");
849 rule->proto = nvlist_get_number(nvl, "proto");
1018 nvlist_add_number(nvl, "proto", r->proto);
1244 snl_add_msg_attr_u8(nw, PF_RT_PROTO, r->proto);
1607 { .type = PF_RT_PROTO, .off = _OUT(r.proto), .cb = snl_attr_get_uint8 },
1872 { .type = PF_ST_PROTO, .off = _OUT(key[0].proto), .cb = snl_attr_get_uint8 },
1913 snl_add_msg_attr_u16(&nw, PF_ST_PROTO, filter->proto);
[all...]
/freebsd-current/contrib/ntp/sntp/libopts/
H A DMakefile.in482 pgusage.c proto.h putshell.c reset.c restore.c save-flags.c \
H A DMakefile.am59 proto.h putshell.c reset.c \
/freebsd-current/contrib/ntp/
H A Dpackageinfo.sh58 proto=4
62 case "${proto}.${major}" in
64 version=${proto}.${major}.${minor}
/freebsd-current/share/man/man4/
H A DMakefile464 proto.4 \
/freebsd-current/sys/dev/cxgbe/
H A Dt4_filter.c251 if (fs1->mask.proto && fs1->val.proto != fs2->val.proto)
404 if (fs->val.proto || fs->mask.proto)
757 fwr->ptcl = f->fs.val.proto;
758 fwr->ptclm = f->fs.mask.proto;
831 if (tp->protocol_shift >= 0 && fs->mask.proto) {
832 *ftuple |= (uint64_t)fs->val.proto << tp->protocol_shift;
/freebsd-current/sbin/ipfw/
H A Dtables.c346 { "proto", IPFW_TFFLAG_PROTO },
1276 /* Assume [src-ip][,proto][,src-port][,dst-ip][,dst-port] */
1302 /* Handle <proto-num|proto-name> */
1305 errx(EX_DATAERR, "invalid key: proto missing");
1312 errx(EX_DATAERR, "Unknown proto: %s",
1321 tfe->proto = key;
1947 printf("%s%d", comma, tfe->proto);
/freebsd-current/contrib/unbound/smallapp/
H A Dunbound-control.c589 int addrfamily = 0, proto = IPPROTO_TCP; local
640 proto = 0;
649 fd = socket(addrfamily, SOCK_STREAM, proto);
/freebsd-current/contrib/unbound/
H A DMakefile.in444 dnstap/dnstap.pb-c.c dnstap/dnstap.pb-c.h: $(srcdir)/dnstap/dnstap.proto
446 $(PROTOC_C) --c_out=. --proto_path=$(srcdir) $(srcdir)/dnstap/dnstap.proto
/freebsd-current/usr.bin/netstat/
H A Dinet.c91 pcblist_sysctl(int proto, const char *name, char **bufp) argument
97 switch (proto) {
150 struct protosw proto; local
161 if (kread((uintptr_t)so->so_proto, &proto, sizeof(proto)) != 0)
163 xso->xso_protocol = proto.pr_protocol;
164 if (kread((uintptr_t)proto.pr_domain, &domain, sizeof(domain)) != 0)
188 protopr(u_long off, const char *name, int af1, int proto) argument
201 switch (proto) {
228 if (!pcblist_sysctl(proto, nam
1460 inetprint(const char *container, struct in_addr *in, int port, const char *proto, int num_port, const int af1) argument
[all...]
/freebsd-current/tests/sys/netinet/
H A Dcarp.py13 return ip.proto == 112
/freebsd-current/sys/sys/
H A Dprotosw.h168 struct protosw *pffindproto(int family, int type, int proto);
/freebsd-current/sys/netinet6/
H A Dicmp6.c447 icmp6_input(struct mbuf **mp, int *offp, int proto) argument

Completed in 266 milliseconds

1234567891011>>