Searched refs:flow (Results 1 - 25 of 67) sorted by relevance

123

/openbsd-current/regress/sys/netinet/ipsec/
H A Dipsec.conf14 flow esp \
18 flow esp \
39 flow esp \
43 flow esp \
48 flow esp proto icmp \
53 flow esp \
57 flow esp \
62 flow esp proto icmp6 \
69 flow esp \
73 flow es
[all...]
/openbsd-current/sys/net/
H A Dfq_codel.c86 struct flow { struct
93 SIMPLEQ_ENTRY(flow) flowentry;
95 SIMPLEQ_HEAD(flowq, flow);
101 struct flow *flows;
521 static inline struct flow *
537 struct flow *flow; local
542 flow = classify_flow(fqc, m);
543 if (flow == NULL)
547 codel_enqueue(&flow
601 struct flow *flow; local
621 next_flow(struct fqcodel *fqc, struct flow *flow, struct flowq **fq) argument
646 struct flow *flow; local
680 struct flow *flow = cookie; local
[all...]
H A Dpfkeyv2_convert.c419 * Import flow information to two struct sockaddr_encap's. Either
423 import_flow(struct sockaddr_encap *flow, struct sockaddr_encap *flowmask, argument
439 bzero(flow, sizeof(*flow));
458 flow->sen_family = flowmask->sen_family = PF_KEY;
459 flow->sen_len = flowmask->sen_len = SENT_LEN;
467 flow->sen_type = SENT_IP4;
468 flow->sen_direction = ftype->sadb_protocol_direction;
469 flow->sen_ip_src = src->sin.sin_addr;
470 flow
567 export_flow(void **p, u_int8_t ftype, struct sockaddr_encap *flow, struct sockaddr_encap *flowmask, void **headers) argument
[all...]
H A Dif_mpip.c66 unsigned int sc_fword; /* flow-aware transport */
571 uint32_t flow; local
578 flow = bemtoh32(&ip6->ip6_flow);
579 tos = flow >> 20;
738 uint32_t flow; local
740 flow = bemtoh32(&ip6->ip6_flow);
741 tos = flow >> 20;
768 uint32_t flow = 0; local
774 flow = m->m_pkthdr.ph_flowid;
775 flow
[all...]
H A Dif_mpw.c525 uint32_t flow; local
541 flow = MPLS_SHIM2LABEL(shim->shim_label);
542 flow ^= sc->sc_flow;
544 m->m_pkthdr.ph_flowid = flow;
712 uint32_t flow = sc->sc_flow; local
719 flow ^= m->m_pkthdr.ph_flowid;
723 shim->shim_label |= MPLS_LABEL2SHIM(flow) | exp | bos;
/openbsd-current/regress/sys/net/pflow/
H A DMakefile20 # * wait for flow and compare it with known good flow
60 ${SUDO} perl ${.CURDIR}/flow.pl 10 4 \
61 | diff -up ${.CURDIR}/flow.10_4 /dev/stdin
63 ${SUDO} perl ${.CURDIR}/flow.pl 10 6 \
64 | diff -up ${.CURDIR}/flow.10_6 /dev/stdin
/openbsd-current/sbin/iked/
H A Dprint.c60 struct iked_flow *flow; local
114 RB_FOREACH(flow, iked_flows, &pol->pol_flows) {
115 print_verbose(" from %s", print_addr(&flow->flow_src.addr));
116 if (flow->flow_src.addr_af != AF_UNSPEC &&
117 flow->flow_src.addr_net)
118 print_verbose("/%d", flow->flow_src.addr_mask);
119 if (flow->flow_src.addr_port)
121 ntohs(flow->flow_src.addr_port));
123 print_verbose(" to %s", print_addr(&flow->flow_dst.addr));
124 if (flow
[all...]
H A Dpfkey.c128 struct iked_flow *flow; local
158 TAILQ_FOREACH(flow, &sa->sa_flows, flow_entry) {
159 if (!flow->flow_loaded && couple)
160 (void)pfkey_flow_add(env, flow);
161 else if (flow->flow_loaded && !couple)
162 (void)pfkey_flow_delete(env, flow);
185 pfkey_flow(struct iked *env, uint8_t satype, uint8_t action, struct iked_flow *flow) argument
202 flow_src = &flow->flow_src;
203 flow_dst = &flow->flow_dst;
205 if (flow
1455 pfkey_flow_add(struct iked *env, struct iked_flow *flow) argument
1474 pfkey_flow_delete(struct iked *env, struct iked_flow *flow) argument
1842 struct iked_flow flow; local
[all...]
H A Dconfig.c304 struct iked_flow *flow; local
306 while ((flow = RB_MIN(iked_flows, head))) {
307 log_debug("%s: free %p", __func__, flow);
308 RB_REMOVE(iked_flows, head, flow);
309 flow_free(flow);
776 struct iked_flow *flow; local
782 RB_FOREACH(flow, iked_flows, &pol->pol_flows) {
785 iov[1].iov_base = flow;
786 iov[1].iov_len = sizeof(*flow);
861 struct iked_flow *flow; local
[all...]
H A Dpolicy.c557 struct iked_flow *flow; local
560 RB_FOREACH(flow, iked_flows, &pol->pol_flows) {
561 if (ts_insert_unique(&flow->flow_src, &pol->pol_tssrc,
562 flow->flow_ipproto) == 1)
564 if (ts_insert_unique(&flow->flow_dst, &pol->pol_tsdst,
565 flow->flow_ipproto) == 1)
661 struct iked_flow *flow, *flowtmp; local
663 TAILQ_FOREACH_SAFE(flow, head, flow_entry, flowtmp) {
664 log_debug("%s: free %p", __func__, flow);
666 if (flow
811 flow_free(struct iked_flow *flow) argument
[all...]
H A Dparse.y704 yyerror("no flow NAT support for"
723 yyerror("no flow NAT support for"
1359 { "flow", FLOW },
2486 struct iked_flow *flow, *ftmp;
2865 fatalx("create_ike: invalid flow");
2868 fatalx("create_ike: invalid flow");
2959 RB_FOREACH_SAFE(flow, iked_flows, &pol.pol_flows, ftmp) {
2960 RB_REMOVE(iked_flows, &pol.pol_flows, flow);
2961 free(flow);
2973 struct iked_flow *flow;
[all...]
H A Dikev2.c4630 struct iked_flow *flow, *flowtmp; local
4658 TAILQ_FOREACH_SAFE(flow, &sa->sa_flows, flow_entry, flowtmp) {
4659 TAILQ_REMOVE(&sa->sa_flows, flow, flow_entry);
4660 TAILQ_INSERT_TAIL(&nsa->sa_flows, flow,
4662 flow->flow_ikesa = nsa;
4663 flow->flow_local = &nsa->sa_local;
4664 flow->flow_peer = &nsa->sa_peer;
6125 struct iked_flow *flow, *saflow, *flowa, *flowb; local
6216 RB_FOREACH(flow, iked_flows, &sa->sa_policy->pol_flows) {
6219 log_debug("%s: failed to get flow", __func_
6447 struct iked_flow *flow, *oflow; local
6745 struct iked_flow *flow; local
7355 ikev2_cp_fixflow(struct iked_sa *sa, struct iked_flow *flow, struct iked_flow *patched) argument
7382 struct iked_flow *flow, *oflow; local
7527 ikev2_info_flow(struct iked *env, struct imsg *imsg, int dolog, const char *msg, struct iked_flow *flow) argument
7578 struct iked_flow *flow; local
[all...]
/openbsd-current/gnu/usr.bin/binutils/opcodes/
H A Darc-dis.h61 enum Flow flow; member in struct:arcDisState
H A Darc-dis.c581 state->flow = noflow;
606 state->flow = invalid_instr;
636 state->flow = invalid_instr;
664 state->flow = invalid_instr;
719 state->flow=invalid_instr;
735 state->flow = invalid_instr;
816 state->flow=invalid_instr;
905 state->flow = state->_opcode == op_BLC /* BL */
931 state->flow = is_linked ? direct_call : direct_jump;
940 state->flow
[all...]
/openbsd-current/gnu/usr.bin/binutils-2.17/opcodes/
H A Darc-dis.h61 enum Flow flow; member in struct:arcDisState
H A Darc-dis.c570 state->flow = noflow;
595 state->flow = invalid_instr;
625 state->flow = invalid_instr;
653 state->flow = invalid_instr;
708 state->flow=invalid_instr;
724 state->flow = invalid_instr;
804 state->flow=invalid_instr;
893 state->flow = state->_opcode == op_BLC /* BL */
919 state->flow = is_linked ? direct_call : direct_jump;
928 state->flow
[all...]
/openbsd-current/usr.sbin/tcpdump/
H A Dprint-ip6.c59 u_int flow; local
224 flow = ntohl(ip6->ip6_flow);
225 if (flow & 0x0ff00000)
226 printf(" [class 0x%x]", (flow & 0x0ff00000) >> 20);
227 if (flow & 0x000fffff)
228 printf(" [flowlabel 0x%x]", flow & 0x000fffff);
/openbsd-current/usr.sbin/bgpd/
H A Drde_prefix.c105 uint8_t flow[1]; /* NLRI */ member in struct:pt_entry_flow
108 #define PT_FLOW_SIZE (offsetof(struct pt_entry_flow, flow))
163 flowspec_get_addr(pflow->flow, pflow->len - PT_FLOW_SIZE,
173 pt_getflowspec(struct pt_entry *pte, uint8_t **flow) argument
181 *flow = pflow->flow;
278 struct pt_entry_flow flow; member in union:__anon16
282 needle = (struct pt_entry *)&x.flow;
287 memcpy(((struct pt_entry_flow *)needle)->flow, f->data, f->len);
307 memcpy(((struct pt_entry_flow *)p)->flow,
[all...]
H A Dflowspec.c296 flowspec_get_component(const uint8_t *flow, int flowlen, int type, int is_v6, argument
305 complen = flowspec_next_component(flow, flowlen, is_v6, &t);
313 flow += complen;
317 *buf = flow + 1;
331 flowspec_get_addr(const uint8_t *flow, int flowlen, int type, int is_v6, argument
342 rv = flowspec_get_component(flow, flowlen, type, is_v6,
405 return "flow";
/openbsd-current/regress/usr.sbin/bgpd/unittests/
H A Drde_flowspec_test.c34 const uint8_t flow[] = { 0x0d, 0x80, 0x00 }; variable
80 /* flow is only valid in the IPv6 case */
81 if (flowspec_valid(flow, sizeof(flow), 0) != -1)
83 if (flowspec_valid(flow, sizeof(flow), 1) != 0)
/openbsd-current/usr.sbin/bgpctl/
H A Dparser.h93 } flow; member in struct:parse_result
H A Dbgpctl.c1950 r->flow.complen[type] = complen;
1951 r->flow.components[type] = comp;
1974 push_prefix(r, FLOWSPEC_TYPE_DEST, &r->flow.dst, r->flow.dstlen);
1975 push_prefix(r, FLOWSPEC_TYPE_SOURCE, &r->flow.src, r->flow.srclen);
1978 if (r->flow.components[i] != NULL)
1979 len += r->flow.complen[i] + 1;
1994 if (r->flow.components[i] != NULL) {
1996 component_finish(i, r->flow
[all...]
/openbsd-current/gnu/llvm/llvm/tools/llvm-exegesis/lib/
H A DBenchmarkResult.cpp169 static const bool flow = false; member in struct:llvm::yaml::SequenceElementTraits
188 static const bool flow = true; member in struct:llvm::yaml::ScalarTraits
193 static const bool flow = false; member in struct:llvm::yaml::SequenceElementTraits
196 // exegesis::Measure is rendererd as a flow instead of a list.
208 static const bool flow = true; member in struct:llvm::yaml::MappingTraits
225 static const bool flow = false; member in struct:llvm::yaml::SequenceElementTraits
259 static const bool flow = true; member in struct:llvm::yaml::ScalarTraits
/openbsd-current/gnu/llvm/llvm/include/llvm/XRay/
H A DYAMLXRayRecord.h90 static constexpr bool flow = true; member in struct:llvm::yaml::MappingTraits
H A DInstrumentationMap.h129 static constexpr bool flow = true; member in struct:llvm::yaml::MappingTraits

Completed in 271 milliseconds

123