Home
last modified time | relevance | path

Searched refs:fr (Results 1 – 11 of 11) sorted by relevance

/xnu-8019.80.24/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_route.c202 struct flow_route *fr; in flow_route_find_by_addr() local
226 fr = RB_FIND(flow_route_tree, &frb->frb_head, &find); in flow_route_find_by_addr()
227 if (fr != NULL) { in flow_route_find_by_addr()
228 flow_route_retain(fr); /* for the caller */ in flow_route_find_by_addr()
230 return fr; in flow_route_find_by_addr()
305 struct flow_route *fr; in flow_route_find_by_uuid() local
311 fr = RB_FIND(flow_route_id_tree, &frib->frib_head, &find); in flow_route_find_by_uuid()
312 if (fr != NULL) { in flow_route_find_by_uuid()
313 flow_route_retain(fr); /* for the caller */ in flow_route_find_by_uuid()
315 return fr; in flow_route_find_by_uuid()
[all …]
H A Dflow_manager.c799 struct flow_route *fr = NULL; in flow_req_prepare() local
801 fr_resolve, fr_arg, &fr); in flow_req_prepare()
804 ASSERT(fr == NULL); in flow_req_prepare()
807 ASSERT(fr != NULL); in flow_req_prepare()
810 *saddr = fr->fr_laddr; in flow_req_prepare()
813 req->nfr_route = fr; in flow_req_prepare()
814 fr = NULL; in flow_req_prepare()
/xnu-8019.80.24/bsd/skywalk/nexus/flowswitch/
H A Dfsw_ethernet.c75 fsw_ethernet_ctor(struct nx_flowswitch *fsw, struct flow_route *fr) in fsw_ethernet_ctor() argument
77 ASSERT(fr->fr_af == AF_INET || fr->fr_af == AF_INET6); in fsw_ethernet_ctor()
79 fr->fr_llhdr.flh_gencnt = fsw->fsw_src_lla_gencnt; in fsw_ethernet_ctor()
80 bcopy(fsw->fsw_ether_shost, fr->fr_eth.ether_shost, ETHER_ADDR_LEN); in fsw_ethernet_ctor()
81 fr->fr_eth.ether_type = ((fr->fr_af == AF_INET) ? in fsw_ethernet_ctor()
85 _CASSERT(sizeof(fr->fr_llhdr.flh_off) == sizeof(uint8_t)); in fsw_ethernet_ctor()
86 _CASSERT(sizeof(fr->fr_llhdr.flh_len) == sizeof(uint8_t)); in fsw_ethernet_ctor()
87 *(uint8_t *)(uintptr_t)&fr->fr_llhdr.flh_off = 2; in fsw_ethernet_ctor()
88 *(uint8_t *)(uintptr_t)&fr->fr_llhdr.flh_len = ETHER_HDR_LEN; in fsw_ethernet_ctor()
92 SK_KVA(fr), ntohs(fr->fr_eth.ether_type), in fsw_ethernet_ctor()
[all …]
H A Dfsw.c1747 fsw_fr2sfr(struct nx_flowswitch *fsw, struct flow_route *fr, in fsw_fr2sfr() argument
1751 uuid_copy(sfr->sfr_uuid, fr->fr_uuid); in fsw_fr2sfr()
1755 sfr->sfr_bucket_idx = fr->fr_frb->frb_idx; in fsw_fr2sfr()
1756 sfr->sfr_id_bucket_idx = fr->fr_frib->frib_idx; in fsw_fr2sfr()
1758 if (fr->fr_flags & FLOWRTF_ATTACHED) { in fsw_fr2sfr()
1761 if (fr->fr_flags & FLOWRTF_ONLINK) { in fsw_fr2sfr()
1764 if (fr->fr_flags & FLOWRTF_GATEWAY) { in fsw_fr2sfr()
1767 if (fr->fr_flags & FLOWRTF_RESOLVED) { in fsw_fr2sfr()
1770 if (fr->fr_flags & FLOWRTF_HAS_LLINFO) { in fsw_fr2sfr()
1773 if (fr->fr_flags & FLOWRTF_DELETED) { in fsw_fr2sfr()
[all …]
H A Dfsw_flow.c451 fsw_flow_route_ctor(void *arg, struct flow_route *fr) in fsw_flow_route_ctor() argument
455 fsw->fsw_ctor(fsw, fr); in fsw_flow_route_ctor()
460 fsw_flow_route_resolve(void *arg, struct flow_route *fr, in fsw_flow_route_resolve() argument
464 return (fsw->fsw_resolve != NULL) ? fsw->fsw_resolve(fsw, fr, pkt) : 0; in fsw_flow_route_resolve()
H A Dfsw_dp.c367 _fsw_error35_handler(int step, struct flow_route *fr, struct __kern_packet *pkt, in _fsw_error35_handler() argument
374 if ((fr->fr_flags & (FLOWRTF_RESOLVED | FLOWRTF_HAS_LLINFO)) == in _fsw_error35_handler()
376 fr->fr_flags &= ~FLOWRTF_RESOLVED; in _fsw_error35_handler()
391 fr->fr_flags |= FLOWRTF_RESOLVED; in _fsw_error35_handler()
402 _fsw_error36_handler(int step, struct flow_route *fr, int *ret) in _fsw_error36_handler() argument
408 if ((fr->fr_flags & (FLOWRTF_RESOLVED | FLOWRTF_HAS_LLINFO)) == in _fsw_error36_handler()
410 fr->fr_flags &= ~FLOWRTF_RESOLVED; in _fsw_error36_handler()
420 fr->fr_flags |= FLOWRTF_RESOLVED; in _fsw_error36_handler()
1307 struct flow_route *fr = fe->fe_route; in dp_flow_route_process() local
1339 if (fr != NULL) { in dp_flow_route_process()
[all …]
H A Dfsw_var.h138 extern int fsw_generic_resolve(struct nx_flowswitch *fsw, struct flow_route *fr,
/xnu-8019.80.24/tools/lldbmacros/
H A Dkasan.py108 fr = unsigned(kern.globals.vm_kernel_slid_base) + unsigned(h.backtrace[i])
109 print " #{:}: {}".format(btframes-i-1, GetSourceInformationForAddress(fr))
176 fr = unsigned(kern.globals.vm_kernel_slid_base) + unsigned(footer.backtrace[i])
177 print " #{:}: {}".format(btframes-i-1, GetSourceInformationForAddress(fr))
/xnu-8019.80.24/bsd/net/
H A Dpf_norm.c113 #define BUFFER_FRAGMENTS(fr) (!((fr)->fr_flags & PFFRAG_NOBUFFER)) argument
500 #define FR_IP_OFF(fr) ((ntohs((fr)->fr_ip->ip_off) & IP_OFFMASK) << 3) argument
1111 #define FR_IP6_OFF(fr) \ argument
1112 (ntohs((fr)->fr_ip6f_opt.ip6f_offlg & IP6F_OFF_MASK))
1113 #define FR_IP6_PLEN(fr) (ntohs((fr)->fr_ip6->ip6_plen)) argument
/xnu-8019.80.24/bsd/netinet6/
H A Dipsec.c2845 size_t fr; in ipsec_chkreplay() local
2893 fr = frlast - diff / 8; in ipsec_chkreplay()
2896 if ((replay->bitmap)[fr] & (1 << (diff % 8))) { in ipsec_chkreplay()
2917 size_t fr; in ipsec_updatereplay() local
2978 fr = frlast - diff / 8; in ipsec_updatereplay()
2981 if ((replay->bitmap)[fr] & (1 << (diff % 8))) { in ipsec_updatereplay()
2987 (replay->bitmap)[fr] |= (1 << (diff % 8)); in ipsec_updatereplay()
/xnu-8019.80.24/makedefs/
H A DMakeInc.top722 rm -fr $${cdir} 2> /dev/null || true ; \