pub struct PushOpNewchainDoRequest<Prev: Rec> { /* private fields */ }tc only.Expand description
Get / dump tc chain information.
Implementations§
Source§impl<Prev: Rec> PushOpNewchainDoRequest<Prev>
impl<Prev: Rec> PushOpNewchainDoRequest<Prev>
pub fn new(prev: Prev, header: &PushTcmsg) -> Self
pub fn end_nested(self) -> Prev
pub fn push_kind(self, value: &CStr) -> Self
pub fn push_kind_bytes(self, value: &[u8]) -> Self
Sourcepub fn nested_options_basic(self) -> PushBasicAttrs<PushDummy<Prev>>
pub fn nested_options_basic(self) -> PushBasicAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_bpf(self) -> PushBpfAttrs<PushDummy<Prev>>
pub fn nested_options_bpf(self) -> PushBpfAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_bfifo(self, fixed_header: &PushTcFifoQopt) -> Self
pub fn nested_options_bfifo(self, fixed_header: &PushTcFifoQopt) -> Self
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_cake(self) -> PushCakeAttrs<PushDummy<Prev>>
pub fn nested_options_cake(self) -> PushCakeAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_cbs(self) -> PushCbsAttrs<PushDummy<Prev>>
pub fn nested_options_cbs(self) -> PushCbsAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_cgroup(self) -> PushCgroupAttrs<PushDummy<Prev>>
pub fn nested_options_cgroup(self) -> PushCgroupAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_choke(self) -> PushChokeAttrs<PushDummy<Prev>>
pub fn nested_options_choke(self) -> PushChokeAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_clsact(self) -> Self
pub fn nested_options_clsact(self) -> Self
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_codel(self) -> PushCodelAttrs<PushDummy<Prev>>
pub fn nested_options_codel(self) -> PushCodelAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_drr(self) -> PushDrrAttrs<PushDummy<Prev>>
pub fn nested_options_drr(self) -> PushDrrAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_dualpi2(self) -> PushDualpi2Attrs<PushDummy<Prev>>
pub fn nested_options_dualpi2(self) -> PushDualpi2Attrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_etf(self) -> PushEtfAttrs<PushDummy<Prev>>
pub fn nested_options_etf(self) -> PushEtfAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_ets(self) -> PushEtsAttrs<PushDummy<Prev>>
pub fn nested_options_ets(self) -> PushEtsAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_flow(self) -> PushFlowAttrs<PushDummy<Prev>>
pub fn nested_options_flow(self) -> PushFlowAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_flower(self) -> PushFlowerAttrs<PushDummy<Prev>>
pub fn nested_options_flower(self) -> PushFlowerAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_fq(self) -> PushFqAttrs<PushDummy<Prev>>
pub fn nested_options_fq(self) -> PushFqAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_fq_codel(self) -> PushFqCodelAttrs<PushDummy<Prev>>
pub fn nested_options_fq_codel(self) -> PushFqCodelAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_fq_pie(self) -> PushFqPieAttrs<PushDummy<Prev>>
pub fn nested_options_fq_pie(self) -> PushFqPieAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_fw(self) -> PushFwAttrs<PushDummy<Prev>>
pub fn nested_options_fw(self) -> PushFwAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_gred(self) -> PushGredAttrs<PushDummy<Prev>>
pub fn nested_options_gred(self) -> PushGredAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_hfsc(self, fixed_header: &PushTcHfscQopt) -> Self
pub fn nested_options_hfsc(self, fixed_header: &PushTcHfscQopt) -> Self
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_hhf(self) -> PushHhfAttrs<PushDummy<Prev>>
pub fn nested_options_hhf(self) -> PushHhfAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_htb(self) -> PushHtbAttrs<PushDummy<Prev>>
pub fn nested_options_htb(self) -> PushHtbAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_ingress(self) -> Self
pub fn nested_options_ingress(self) -> Self
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_matchall(self) -> PushMatchallAttrs<PushDummy<Prev>>
pub fn nested_options_matchall(self) -> PushMatchallAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_mq(self) -> Self
pub fn nested_options_mq(self) -> Self
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_mqprio(self, fixed_header: &PushTcMqprioQopt) -> Self
pub fn nested_options_mqprio(self, fixed_header: &PushTcMqprioQopt) -> Self
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_multiq(self, fixed_header: &PushTcMultiqQopt) -> Self
pub fn nested_options_multiq(self, fixed_header: &PushTcMultiqQopt) -> Self
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_netem(
self,
fixed_header: &PushTcNetemQopt,
) -> PushNetemAttrs<PushDummy<Prev>>
pub fn nested_options_netem( self, fixed_header: &PushTcNetemQopt, ) -> PushNetemAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_pfifo(self, fixed_header: &PushTcFifoQopt) -> Self
pub fn nested_options_pfifo(self, fixed_header: &PushTcFifoQopt) -> Self
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_pfifo_fast(self, fixed_header: &PushTcPrioQopt) -> Self
pub fn nested_options_pfifo_fast(self, fixed_header: &PushTcPrioQopt) -> Self
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_pfifo_head_drop(
self,
fixed_header: &PushTcFifoQopt,
) -> Self
pub fn nested_options_pfifo_head_drop( self, fixed_header: &PushTcFifoQopt, ) -> Self
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_pie(self) -> PushPieAttrs<PushDummy<Prev>>
pub fn nested_options_pie(self) -> PushPieAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_plug(self, fixed_header: &PushTcPlugQopt) -> Self
pub fn nested_options_plug(self, fixed_header: &PushTcPlugQopt) -> Self
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_prio(self, fixed_header: &PushTcPrioQopt) -> Self
pub fn nested_options_prio(self, fixed_header: &PushTcPrioQopt) -> Self
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_qfq(self) -> PushQfqAttrs<PushDummy<Prev>>
pub fn nested_options_qfq(self) -> PushQfqAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_red(self) -> PushRedAttrs<PushDummy<Prev>>
pub fn nested_options_red(self) -> PushRedAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_route(self) -> PushRouteAttrs<PushDummy<Prev>>
pub fn nested_options_route(self) -> PushRouteAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_sfb(self, fixed_header: &PushTcSfbQopt) -> Self
pub fn nested_options_sfb(self, fixed_header: &PushTcSfbQopt) -> Self
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_sfq(self, fixed_header: &PushTcSfqQoptV1) -> Self
pub fn nested_options_sfq(self, fixed_header: &PushTcSfqQoptV1) -> Self
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_taprio(self) -> PushTaprioAttrs<PushDummy<Prev>>
pub fn nested_options_taprio(self) -> PushTaprioAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_tbf(self) -> PushTbfAttrs<PushDummy<Prev>>
pub fn nested_options_tbf(self) -> PushTbfAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_u32(self) -> PushU32Attrs<PushDummy<Prev>>
pub fn nested_options_u32(self) -> PushU32Attrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.