Searched refs:pf_mtag (Results 1 - 25 of 34) sorted by relevance

12

/darwin-on-arm/xnu/bsd/net/classq/
H A Dclassq.h172 extern u_int8_t read_dsfield(struct mbuf *, struct pf_mtag *);
173 extern void write_dsfield(struct mbuf *, struct pf_mtag *, u_int8_t);
174 extern int mark_ecn(struct mbuf *, struct pf_mtag *, int);
H A Dclassq_blue.h114 struct pf_mtag *);
H A Dclassq_red.h151 extern int red_addq(red_t *, class_queue_t *, struct mbuf *, struct pf_mtag *);
H A Dclassq_rio.h127 extern int rio_addq(rio_t *, class_queue_t *, struct mbuf *, struct pf_mtag *);
H A Dclassq_sfb.c197 static inline int sfb_pcheck(struct sfb *, struct pf_mtag *);
198 static int sfb_penalize(struct sfb *, struct pf_mtag *, struct timespec *);
205 static inline void sfb_dq_update_bins(struct sfb *, struct pf_mtag *,
207 static inline void sfb_eq_update_bins(struct sfb *, struct pf_mtag *);
208 static int sfb_drop_early(struct sfb *, struct pf_mtag *, u_int16_t *,
210 static boolean_t sfb_bin_addfcentry(struct sfb *, struct pf_mtag *);
560 sfb_pcheck(struct sfb *sp, struct pf_mtag *t)
599 sfb_penalize(struct sfb *sp, struct pf_mtag *t, struct timespec *now)
697 sfb_dq_update_bins(struct sfb *sp, struct pf_mtag *t, struct timespec *now)
762 sfb_eq_update_bins(struct sfb *sp, struct pf_mtag *
[all...]
H A Dclassq_util.c89 read_dsfield(struct mbuf *m, struct pf_mtag *t)
139 write_dsfield(struct mbuf *m, struct pf_mtag *t, u_int8_t dsfield)
208 mark_ecn(struct mbuf *m, struct pf_mtag *t, int flags)
H A Dclassq_sfb.h140 struct pf_mtag *);
H A Dclassq_blue.c214 struct pf_mtag *tag)
/darwin-on-arm/xnu/bsd/netinet6/
H A Dip6_forward.c140 struct pf_mtag *pf_mtag; local
145 pf_mtag = pf_find_mtag(m);
146 if (pf_mtag != NULL && pf_mtag->pftag_rtableid != IFSCOPE_NONE)
147 ifscope = pf_mtag->pftag_rtableid;
/darwin-on-arm/xnu/bsd/net/pktsched/
H A Dpktsched_cbq.h193 struct pf_mtag *);
H A Dpktsched_priq.h179 struct pf_mtag *);
H A Dpktsched_tcq.h150 struct pf_mtag *);
H A Dpktsched_fairq.h220 struct mbuf *, struct pf_mtag *);
H A Dpktsched_qfq.h293 struct pf_mtag *);
H A Dpktsched_rmclass.h302 extern int rmc_queue_packet(struct rm_class *, struct mbuf *, struct pf_mtag *);
H A Dpktsched_hfsc.h343 struct mbuf *, struct pf_mtag *);
H A Dpktsched_fairq.c149 struct pf_mtag *);
660 struct pf_mtag *t)
808 fairq_addq(struct fairq_class *cl, struct mbuf *m, struct pf_mtag *t)
H A Dpktsched_priq.c93 struct pf_mtag *);
562 struct pf_mtag *t)
667 priq_addq(struct priq_class *cl, struct mbuf *m, struct pf_mtag *t)
H A Dpktsched_rmclass.c115 static int _rmc_addq(rm_class_t *, struct mbuf *, struct pf_mtag *);
819 rmc_queue_packet(struct rm_class *cl, struct mbuf *m, struct pf_mtag *t)
1680 _rmc_addq(rm_class_t *cl, struct mbuf *m, struct pf_mtag *t)
H A Dpktsched_tcq.c63 struct pf_mtag *);
530 struct pf_mtag *t)
628 tcq_addq(struct tcq_class *cl, struct mbuf *m, struct pf_mtag *t)
/darwin-on-arm/xnu/bsd/net/
H A Dpf.c271 struct pf_mtag *, int *);
350 pd->pf_mtag = pf_find_mtag(m);
2365 struct pf_mtag *pf_mtag; local
2393 if ((pf_mtag = pf_get_mtag(m)) == NULL) {
2399 pf_mtag->pftag_flags |= PF_TAG_GENERATED;
2400 pf_mtag->pftag_tag = rtag;
2403 pf_mtag->pftag_rtableid = r->rtableid;
2407 pf_mtag->pftag_qid = r->qid;
2411 pf_mtag
2536 struct pf_mtag *pf_mtag; local
2760 pf_match_tag(struct mbuf *m, struct pf_rule *r, struct pf_mtag *pf_mtag, int *tag) argument
2772 pf_tag_packet(struct mbuf *m, struct pf_mtag *pf_mtag, int tag, unsigned int rtableid, struct pf_pdesc *pd) argument
7875 struct pf_mtag *pf_mtag; local
[all...]
H A Dpf_norm.c1654 pd->pf_mtag = pf_find_mtag(m);
1656 if (pd->pf_mtag == NULL) {
1658 if ((pd->pf_mtag = pf_get_mtag(m)) == NULL) {
1673 if (dir == PF_OUT && (pd->pf_mtag->pftag_flags & PF_TAG_FRAGCACHE)) {
1701 pd->pf_mtag = pf_find_mtag(m);
1703 if (pd->pf_mtag == NULL) {
1705 if ((pd->pf_mtag = pf_get_mtag(m)) == NULL) {
1713 pd->pf_mtag->pftag_flags |= PF_TAG_FRAGCACHE;
2023 else if (dir == PF_IN || !(pd->pf_mtag->pftag_flags & PF_TAG_FRAGCACHE)) {
2047 pd->pf_mtag
[all...]
/darwin-on-arm/xnu/bsd/sys/
H A Dmbuf.h181 struct pf_mtag { struct
227 struct pf_mtag pf_mtag; /* built-in PF tag */ member in struct:pkthdr
228 #define m_flowhash pf_mtag.pftag_flowhash
229 #define m_fhflags pf_mtag.pftag_flags
283 #define m_pftag(_m) (&(_m)->m_pkthdr.pf_mtag)
/darwin-on-arm/xnu/bsd/kern/
H A Duipc_mbuf2.c678 bzero(&m->m_pkthdr.pf_mtag, sizeof (m->m_pkthdr.pf_mtag));
/darwin-on-arm/xnu/bsd/netinet/
H A Dip_input.c2361 struct pf_mtag *pf_mtag; local
2400 pf_mtag = pf_find_mtag(m);
2401 if (pf_mtag != NULL && pf_mtag->pftag_rtableid != IFSCOPE_NONE) {
2402 ipoa.ipoa_boundif = pf_mtag->pftag_rtableid;

Completed in 178 milliseconds

12