github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/sys/linux/socket_netlink_route_sched_retired.txt (about) 1 # Copyright 2024 syzkaller project authors. All rights reserved. 2 # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. 3 4 # This file contains definitions that can no longer be generated from latest Linux revisions. 5 meta noextract 6 7 # TODO: remove the filters that were removed from the kernel 8 # once they are removed from relevant LTS kernels: 9 # 10 # 265b4da82dbf5 net/sched: Retire rsvp classifier 11 # 8c710f75256bb net/sched: Retire tcindex classifier 12 # bbe77c14ee618 net/sched: Retire dsmark qdisc 13 # fb38306ceb9e7 net/sched: Retire ATM qdisc 14 # 051d442098421 net/sched: Retire CBQ qdisc 15 # ba24ea1291263 net/sched: Retire ipt action 16 17 sendmsg$nl_route_sched_retired(fd sock_nl_route, msg ptr[in, msghdr_netlink[netlink_msg_route_sched_retired]], f flags[send_flags]) 18 19 netlink_msg_route_sched_retired [ 20 newqdisc netlink_msg[RTM_NEWQDISC, tcmsg[AF_UNSPEC], rtm_tca_policy_retired] 21 delqdisc netlink_msg[RTM_DELQDISC, tcmsg[AF_UNSPEC], rtm_tca_policy_retired] 22 newtfilter netlink_msg[RTM_NEWTFILTER, tcmsg[AF_UNSPEC], filter_policy_retired] 23 deltfilter netlink_msg[RTM_DELTFILTER, tcmsg[AF_UNSPEC], filter_policy_retired] 24 newchain netlink_msg[RTM_NEWCHAIN, tcmsg[AF_UNSPEC], filter_policy_retired] 25 delchain netlink_msg[RTM_DELCHAIN, tcmsg[AF_UNSPEC], filter_policy_retired] 26 newtaction netlink_msg[RTM_NEWACTION, tcamsg[AF_UNSPEC], nlattr[TCA_ACT_TAB, array[tca_actions_retired]]] 27 newtclass netlink_msg[RTM_NEWTCLASS, tcmsg[AF_UNSPEC], rtm_tca_policy$tclass_retired] 28 deltclass netlink_msg[RTM_DELTCLASS, tcmsg[AF_UNSPEC], rtm_tca_policy$tclass_retired] 29 ] [varlen] 30 31 rtm_tca_policy$tclass_retired [ 32 c_atm tca_kind_options_t["atm", array[atm_policy]] 33 c_cbq tca_kind_options_t["cbq", array[cbq_policy]] 34 c_dsmark tca_kind_options_t["dsmark", dsmark_policy$class] 35 ] [varlen] 36 37 filter_policy_retired [ 38 f_rsvp tca_kind_options_t["rsvp", array[rsvp_policy]] 39 f_rsvp6 tca_kind_options_t["rsvp6", array[rsvp_policy$ipv6]] 40 f_tcindex tca_kind_options_t["tcindex", array[tcindex_policy]] 41 ] [varlen] 42 43 tca_actions_retired [ 44 m_ipt nlattr_tca_actions[tcf_action_policy["ipt", ipt_policy]] 45 ] [varlen] 46 47 rtm_tca_policy_retired [ 48 q_dsmark tca_kind_options_t["dsmark", array[dsmark_policy]] 49 ] [varlen] 50 51 ## atm 52 53 atm_policy [ 54 TCA_ATM_FD nlattr[TCA_ATM_FD, sock] 55 TCA_ATM_HDR nlattr[TCA_ATM_HDR, array[int8, 0:64]] 56 TCA_ATM_EXCESS nlattr[TCA_ATM_EXCESS, tcm_handle] 57 ] [varlen] 58 59 ## CBQ 60 61 cbq_policy [ 62 TCA_CBQ_LSSOPT nlattr[TCA_CBQ_LSSOPT, tc_cbq_lssopt] 63 TCA_CBQ_WRROPT nlattr[TCA_CBQ_WRROPT, tc_cbq_wrropt] 64 TCA_CBQ_FOPT nlattr[TCA_CBQ_FOPT, tc_cbq_fopt] 65 TCA_CBQ_RATE nlattr[TCA_CBQ_RATE, tc_ratespec] 66 TCA_CBQ_RTAB nlattr[TCA_CBQ_RTAB, array[int32, 256]] 67 ] [varlen] 68 69 tc_cbq_lssopt { 70 change int8[0:64] 71 flags int8[0:3] 72 ewma_log int8[0:32] 73 level int8 74 maxidle int32 75 minidle int32 76 offtime int32 77 avpkt int32 78 } 79 80 tc_cbq_wrropt { 81 flags int8 82 priority int8[0:TC_CBQ_MAXPRIO] 83 cpriority int8 84 __reserved int8 85 allot int32 86 weight int32 87 } 88 89 tc_cbq_fopt { 90 split tcm_handle 91 defmap int32 92 defchange int32 93 } 94 95 ## dsmark 96 97 dsmark_policy$class [ 98 TCA_DSMARK_MASK nlattr[TCA_DSMARK_MASK, int8] 99 TCA_DSMARK_VALUE nlattr[TCA_DSMARK_VALUE, int8] 100 ] [varlen] 101 102 dsmark_policy [ 103 TCA_DSMARK_INDICES nlattr[TCA_DSMARK_INDICES, flags[tca_dsmark_ind, int16]] 104 TCA_DSMARK_DEFAULT_INDEX nlattr[TCA_DSMARK_DEFAULT_INDEX, int16] 105 TCA_DSMARK_SET_TC_INDEX nlattr[TCA_DSMARK_SET_TC_INDEX, void] 106 ] [varlen] 107 108 ## rsvp 109 110 rsvp_policy [ 111 TCA_RSVP_CLASSID nlattr[TCA_RSVP_CLASSID, tcm_handle] 112 TCA_RSVP_DST nlattr[TCA_RSVP_DST, ipv4_addr] 113 TCA_RSVP_SRC nlattr[TCA_RSVP_SRC, ipv4_addr] 114 TCA_RSVP_PINFO nlattr[TCA_RSVP_PINFO, tc_rsvp_pinfo] 115 TCA_RSVP_POLICE nlattr[TCA_RSVP_POLICE, array[police_policy]] 116 TCA_RSVP_ACT nlattr[TCA_RSVP_ACT, array[tca_actions]] 117 ] [varlen] 118 119 rsvp_policy$ipv6 [ 120 TCA_RSVP_CLASSID nlattr[TCA_RSVP_CLASSID, tcm_handle] 121 TCA_RSVP_DST nlattr[TCA_RSVP_DST, ipv6_addr] 122 TCA_RSVP_SRC nlattr[TCA_RSVP_SRC, ipv6_addr] 123 TCA_RSVP_PINFO nlattr[TCA_RSVP_PINFO, tc_rsvp_pinfo] 124 TCA_RSVP_POLICE nlattr[TCA_RSVP_POLICE, array[police_policy]] 125 TCA_RSVP_ACT nlattr[TCA_RSVP_ACT, array[tca_actions]] 126 ] [varlen] 127 128 ## tcindex 129 130 tcindex_policy [ 131 TCA_TCINDEX_HASH nlattr[TCA_TCINDEX_HASH, int32[0:0x10000]] 132 TCA_TCINDEX_MASK nlattr[TCA_TCINDEX_MASK, int16] 133 TCA_TCINDEX_SHIFT nlattr[TCA_TCINDEX_SHIFT, int32] 134 TCA_TCINDEX_FALL_THROUGH nlattr[TCA_TCINDEX_FALL_THROUGH, int32[0:1]] 135 TCA_TCINDEX_CLASSID nlattr[TCA_TCINDEX_CLASSID, tcm_handle] 136 TCA_TCINDEX_POLICE nlattr[TCA_TCINDEX_POLICE, array[police_policy]] 137 TCA_TCINDEX_ACT nlattr[TCA_TCINDEX_ACT, array[tca_actions]] 138 ] [varlen] 139 140 ## ipt 141 142 ipt_policy [ 143 TCA_IPT_TABLE nlattr[TCA_IPT_TABLE, string[ipt_tables, XT_TABLE_MAXNAMELEN]] 144 TCA_IPT_HOOK nlattr[TCA_IPT_HOOK, flags[nf_inet_hooks, int32]] 145 TCA_IPT_INDEX nlattr[TCA_IPT_INDEX, int32] 146 TCA_IPT_TARG nlattr[TCA_IPT_TARG, xt_entry_target] 147 ] [varlen]