diff --git a/home/nipa/nipa_out/1010855/ynl/old-code/devlink-user.h b/home/nipa/nipa_out/1010855/ynl/new-code/devlink-user.h index 8206ab5b1804..695cf1b1e1bb 100644 --- a/home/nipa/nipa_out/1010855/ynl/old-code/devlink-user.h +++ b/home/nipa/nipa_out/1010855/ynl/new-code/devlink-user.h @@ -330,8 +330,7 @@ devlink_dl_rate_tc_bws_alloc(unsigned int n) void devlink_dl_rate_tc_bws_free(struct devlink_dl_rate_tc_bws *obj); static inline void -devlink_dl_rate_tc_bws_set_index(struct devlink_dl_rate_tc_bws *obj, - __u8 index) +devlink_dl_rate_tc_bws_set_index(struct devlink_dl_rate_tc_bws *obj, __u8 index) { obj->_present.index = 1; obj->index = index; diff --git a/home/nipa/nipa_out/1010855/ynl/old-code/ethtool-user.h b/home/nipa/nipa_out/1010855/ynl/new-code/ethtool-user.h index 0f0acec08952..bb54ce671f71 100644 --- a/home/nipa/nipa_out/1010855/ynl/old-code/ethtool-user.h +++ b/home/nipa/nipa_out/1010855/ynl/new-code/ethtool-user.h @@ -6777,8 +6777,7 @@ ethtool_mm_get_req_set_header_dev_name(struct ethtool_mm_get_req *req, req->header.dev_name[req->header._len.dev_name] = 0; } static inline void -ethtool_mm_get_req_set_header_flags(struct ethtool_mm_get_req *req, - __u32 flags) +ethtool_mm_get_req_set_header_flags(struct ethtool_mm_get_req *req, __u32 flags) { req->_present.header = 1; req->header._present.flags = 1; @@ -6946,8 +6945,7 @@ ethtool_mm_set_req_set_header_dev_name(struct ethtool_mm_set_req *req, req->header.dev_name[req->header._len.dev_name] = 0; } static inline void -ethtool_mm_set_req_set_header_flags(struct ethtool_mm_set_req *req, - __u32 flags) +ethtool_mm_set_req_set_header_flags(struct ethtool_mm_set_req *req, __u32 flags) { req->_present.header = 1; req->header._present.flags = 1; @@ -7588,8 +7586,7 @@ __ethtool_tsconfig_set_req_set_hwtstamp_flags_bits_bit(struct ethtool_tsconfig_s } static inline void ethtool_tsconfig_set_req_set_hwtstamp_flags_value(struct ethtool_tsconfig_set_req *req, - const void *value, - size_t len) + const void *value, size_t len) { req->_present.hwtstamp_flags = 1; free(req->hwtstamp_flags.value); diff --git a/home/nipa/nipa_out/1010855/ynl/old-code/mptcp_pm-user.h b/home/nipa/nipa_out/1010855/ynl/new-code/mptcp_pm-user.h index 8ef1ff3141ef..74eec98c37d4 100644 --- a/home/nipa/nipa_out/1010855/ynl/old-code/mptcp_pm-user.h +++ b/home/nipa/nipa_out/1010855/ynl/new-code/mptcp_pm-user.h @@ -865,8 +865,7 @@ mptcp_pm_subflow_create_req_set_addr_remote_addr4(struct mptcp_pm_subflow_create } static inline void mptcp_pm_subflow_create_req_set_addr_remote_addr6(struct mptcp_pm_subflow_create_req *req, - const void *addr6, - size_t len) + const void *addr6, size_t len) { req->_present.addr_remote = 1; free(req->addr_remote.addr6); diff --git a/home/nipa/nipa_out/1010855/ynl/old-code/net_shaper-user.h b/home/nipa/nipa_out/1010855/ynl/new-code/net_shaper-user.h index 996945915813..757f5044aae8 100644 --- a/home/nipa/nipa_out/1010855/ynl/old-code/net_shaper-user.h +++ b/home/nipa/nipa_out/1010855/ynl/new-code/net_shaper-user.h @@ -318,8 +318,7 @@ net_shaper_delete_req_set_handle_scope(struct net_shaper_delete_req *req, req->handle.scope = scope; } static inline void -net_shaper_delete_req_set_handle_id(struct net_shaper_delete_req *req, - __u32 id) +net_shaper_delete_req_set_handle_id(struct net_shaper_delete_req *req, __u32 id) { req->_present.handle = 1; req->handle._present.id = 1; diff --git a/home/nipa/nipa_out/1010855/ynl/old-code/nl80211-user.c b/home/nipa/nipa_out/1010855/ynl/new-code/nl80211-user.c index 82d190756beb..5ad544dbfa88 100644 --- a/home/nipa/nipa_out/1010855/ynl/old-code/nl80211-user.c +++ b/home/nipa/nipa_out/1010855/ynl/new-code/nl80211-user.c @@ -1136,8 +1136,7 @@ nl80211_iface_limit_attributes_free(struct nl80211_iface_limit_attributes *obj) } int nl80211_iface_limit_attributes_parse(struct ynl_parse_arg *yarg, - const struct nlattr *nested, - __u32 idx) + const struct nlattr *nested, __u32 idx) { struct nl80211_iface_limit_attributes *dst = yarg->data; const struct nlattr *attr; diff --git a/home/nipa/nipa_out/1010855/ynl/old-code/ovs_flow-user.c b/home/nipa/nipa_out/1010855/ynl/new-code/ovs_flow-user.c index c36c3630cc45..0ac6dd619ebe 100644 --- a/home/nipa/nipa_out/1010855/ynl/old-code/ovs_flow-user.c +++ b/home/nipa/nipa_out/1010855/ynl/new-code/ovs_flow-user.c @@ -310,8 +310,7 @@ const struct ynl_policy_nest ovs_flow_flow_attrs_nest = { /* Common nested types */ void ovs_flow_ovs_nsh_key_attrs_free(struct ovs_flow_ovs_nsh_key_attrs *obj); -int ovs_flow_ovs_nsh_key_attrs_put(struct nlmsghdr *nlh, - unsigned int attr_type, +int ovs_flow_ovs_nsh_key_attrs_put(struct nlmsghdr *nlh, unsigned int attr_type, struct ovs_flow_ovs_nsh_key_attrs *obj); int ovs_flow_ovs_nsh_key_attrs_parse(struct ynl_parse_arg *yarg, const struct nlattr *nested); @@ -380,8 +379,7 @@ void ovs_flow_ovs_nsh_key_attrs_free(struct ovs_flow_ovs_nsh_key_attrs *obj) free(obj->md2); } -int ovs_flow_ovs_nsh_key_attrs_put(struct nlmsghdr *nlh, - unsigned int attr_type, +int ovs_flow_ovs_nsh_key_attrs_put(struct nlmsghdr *nlh, unsigned int attr_type, struct ovs_flow_ovs_nsh_key_attrs *obj) { struct nlattr *nest; diff --git a/home/nipa/nipa_out/1010855/ynl/old-code/ovs_flow-user.h b/home/nipa/nipa_out/1010855/ynl/new-code/ovs_flow-user.h index 41f871935720..2f230891a1c2 100644 --- a/home/nipa/nipa_out/1010855/ynl/old-code/ovs_flow-user.h +++ b/home/nipa/nipa_out/1010855/ynl/new-code/ovs_flow-user.h @@ -599,8 +599,7 @@ ovs_flow_get_req_set_key_tunnel_pad(struct ovs_flow_get_req *req, } static inline void ovs_flow_get_req_set_key_tunnel_erspan_opts(struct ovs_flow_get_req *req, - const void *erspan_opts, - size_t len) + const void *erspan_opts, size_t len) { req->_present.key = 1; req->key._present.tunnel = 1; @@ -1303,8 +1302,7 @@ ovs_flow_get_req_dump_set_key_tunnel_info(struct ovs_flow_get_req_dump *req, } static inline void ovs_flow_get_req_dump_set_key_ipv6_exthdrs(struct ovs_flow_get_req_dump *req, - const void *ipv6_exthdrs, - size_t len) + const void *ipv6_exthdrs, size_t len) { req->_present.key = 1; free(req->key.ipv6_exthdrs); @@ -1631,8 +1629,7 @@ ovs_flow_new_req_set_key_tunnel_pad(struct ovs_flow_new_req *req, } static inline void ovs_flow_new_req_set_key_tunnel_erspan_opts(struct ovs_flow_new_req *req, - const void *erspan_opts, - size_t len) + const void *erspan_opts, size_t len) { req->_present.key = 1; req->key._present.tunnel = 1; @@ -1825,8 +1822,7 @@ ovs_flow_new_req_set_ufid(struct ovs_flow_new_req *req, const void *ufid, memcpy(req->ufid, ufid, req->_len.ufid); } static inline void -ovs_flow_new_req_set_mask_priority(struct ovs_flow_new_req *req, - __u32 priority) +ovs_flow_new_req_set_mask_priority(struct ovs_flow_new_req *req, __u32 priority) { req->_present.mask = 1; req->mask._present.priority = 1; @@ -1946,8 +1942,7 @@ ovs_flow_new_req_set_mask_nd(struct ovs_flow_new_req *req, const void *nd, memcpy(req->mask.nd, nd, req->mask._len.nd); } static inline void -ovs_flow_new_req_set_mask_skb_mark(struct ovs_flow_new_req *req, - __u32 skb_mark) +ovs_flow_new_req_set_mask_skb_mark(struct ovs_flow_new_req *req, __u32 skb_mark) { req->_present.mask = 1; req->mask._present.skb_mark = 1; @@ -2153,8 +2148,7 @@ ovs_flow_new_req_set_mask_mpls(struct ovs_flow_new_req *req, const void *mpls, memcpy(req->mask.mpls, mpls, req->mask._len.mpls); } static inline void -ovs_flow_new_req_set_mask_ct_state(struct ovs_flow_new_req *req, - __u32 ct_state) +ovs_flow_new_req_set_mask_ct_state(struct ovs_flow_new_req *req, __u32 ct_state) { req->_present.mask = 1; req->mask._present.ct_state = 1; @@ -2218,8 +2212,8 @@ ovs_flow_new_req_set_mask_nsh_base(struct ovs_flow_new_req *req, memcpy(req->mask.nsh.base, base, req->mask.nsh._len.base); } static inline void -ovs_flow_new_req_set_mask_nsh_md1(struct ovs_flow_new_req *req, - const void *md1, size_t len) +ovs_flow_new_req_set_mask_nsh_md1(struct ovs_flow_new_req *req, const void *md1, + size_t len) { req->_present.mask = 1; req->mask._present.nsh = 1; @@ -2229,8 +2223,8 @@ ovs_flow_new_req_set_mask_nsh_md1(struct ovs_flow_new_req *req, memcpy(req->mask.nsh.md1, md1, req->mask.nsh._len.md1); } static inline void -ovs_flow_new_req_set_mask_nsh_md2(struct ovs_flow_new_req *req, - const void *md2, size_t len) +ovs_flow_new_req_set_mask_nsh_md2(struct ovs_flow_new_req *req, const void *md2, + size_t len) { req->_present.mask = 1; req->mask._present.nsh = 1; diff --git a/home/nipa/nipa_out/1010855/ynl/old-code/rt-addr-user.h b/home/nipa/nipa_out/1010855/ynl/new-code/rt-addr-user.h index 6739a33494f0..0c7dc3f860f1 100644 --- a/home/nipa/nipa_out/1010855/ynl/old-code/rt-addr-user.h +++ b/home/nipa/nipa_out/1010855/ynl/new-code/rt-addr-user.h @@ -47,8 +47,7 @@ static inline struct rt_addr_newaddr_req *rt_addr_newaddr_req_alloc(void) void rt_addr_newaddr_req_free(struct rt_addr_newaddr_req *req); static inline void -rt_addr_newaddr_req_set_nlflags(struct rt_addr_newaddr_req *req, - __u16 nl_flags) +rt_addr_newaddr_req_set_nlflags(struct rt_addr_newaddr_req *req, __u16 nl_flags) { req->_nlmsg_flags = nl_flags; } @@ -119,8 +118,7 @@ static inline struct rt_addr_deladdr_req *rt_addr_deladdr_req_alloc(void) void rt_addr_deladdr_req_free(struct rt_addr_deladdr_req *req); static inline void -rt_addr_deladdr_req_set_nlflags(struct rt_addr_deladdr_req *req, - __u16 nl_flags) +rt_addr_deladdr_req_set_nlflags(struct rt_addr_deladdr_req *req, __u16 nl_flags) { req->_nlmsg_flags = nl_flags; } diff --git a/home/nipa/nipa_out/1010855/ynl/old-code/rt-link-user.c b/home/nipa/nipa_out/1010855/ynl/new-code/rt-link-user.c index c27bada1ed36..b7f3dfc6c325 100644 --- a/home/nipa/nipa_out/1010855/ynl/old-code/rt-link-user.c +++ b/home/nipa/nipa_out/1010855/ynl/new-code/rt-link-user.c @@ -1928,8 +1928,7 @@ void rt_link_linkinfo_gre_attrs_free(struct rt_link_linkinfo_gre_attrs *obj) free(obj->remote); } -int rt_link_linkinfo_gre_attrs_put(struct nlmsghdr *nlh, - unsigned int attr_type, +int rt_link_linkinfo_gre_attrs_put(struct nlmsghdr *nlh, unsigned int attr_type, struct rt_link_linkinfo_gre_attrs *obj) { struct nlattr *nest; @@ -2796,8 +2795,7 @@ void rt_link_linkinfo_tun_attrs_free(struct rt_link_linkinfo_tun_attrs *obj) { } -int rt_link_linkinfo_tun_attrs_put(struct nlmsghdr *nlh, - unsigned int attr_type, +int rt_link_linkinfo_tun_attrs_put(struct nlmsghdr *nlh, unsigned int attr_type, struct rt_link_linkinfo_tun_attrs *obj) { struct nlattr *nest; @@ -2890,8 +2888,7 @@ void rt_link_linkinfo_vrf_attrs_free(struct rt_link_linkinfo_vrf_attrs *obj) { } -int rt_link_linkinfo_vrf_attrs_put(struct nlmsghdr *nlh, - unsigned int attr_type, +int rt_link_linkinfo_vrf_attrs_put(struct nlmsghdr *nlh, unsigned int attr_type, struct rt_link_linkinfo_vrf_attrs *obj) { struct nlattr *nest; @@ -2930,8 +2927,7 @@ void rt_link_linkinfo_vti_attrs_free(struct rt_link_linkinfo_vti_attrs *obj) free(obj->remote); } -int rt_link_linkinfo_vti_attrs_put(struct nlmsghdr *nlh, - unsigned int attr_type, +int rt_link_linkinfo_vti_attrs_put(struct nlmsghdr *nlh, unsigned int attr_type, struct rt_link_linkinfo_vti_attrs *obj) { struct nlattr *nest; @@ -3799,8 +3795,7 @@ void rt_link_bond_ad_info_attrs_free(struct rt_link_bond_ad_info_attrs *obj) free(obj->partner_mac); } -int rt_link_bond_ad_info_attrs_put(struct nlmsghdr *nlh, - unsigned int attr_type, +int rt_link_bond_ad_info_attrs_put(struct nlmsghdr *nlh, unsigned int attr_type, struct rt_link_bond_ad_info_attrs *obj) { struct nlattr *nest; @@ -4837,8 +4832,7 @@ int rt_link_linkinfo_data_msg_put(struct nlmsghdr *nlh, unsigned int attr_type, return 0; } -int rt_link_linkinfo_data_msg_parse(struct ynl_parse_arg *yarg, - const char *sel, +int rt_link_linkinfo_data_msg_parse(struct ynl_parse_arg *yarg, const char *sel, const struct nlattr *nested) { struct rt_link_linkinfo_data_msg *dst = yarg->data; diff --git a/home/nipa/nipa_out/1010855/ynl/old-code/rt-link-user.h b/home/nipa/nipa_out/1010855/ynl/new-code/rt-link-user.h index 989c5af52b0a..52dfa39fbc21 100644 --- a/home/nipa/nipa_out/1010855/ynl/old-code/rt-link-user.h +++ b/home/nipa/nipa_out/1010855/ynl/new-code/rt-link-user.h @@ -1200,8 +1200,7 @@ static inline struct rt_link_newlink_req *rt_link_newlink_req_alloc(void) void rt_link_newlink_req_free(struct rt_link_newlink_req *req); static inline void -rt_link_newlink_req_set_nlflags(struct rt_link_newlink_req *req, - __u16 nl_flags) +rt_link_newlink_req_set_nlflags(struct rt_link_newlink_req *req, __u16 nl_flags) { req->_nlmsg_flags = nl_flags; } @@ -2436,8 +2435,7 @@ rt_link_newlink_req_set_linkinfo_data_gre_local(struct rt_link_newlink_req *req, } static inline void rt_link_newlink_req_set_linkinfo_data_gre_remote(struct rt_link_newlink_req *req, - const void *remote, - size_t len) + const void *remote, size_t len) { req->_present.linkinfo = 1; req->linkinfo._present.data = 1; @@ -3605,8 +3603,7 @@ rt_link_newlink_req_set_linkinfo_data_sit_local(struct rt_link_newlink_req *req, } static inline void rt_link_newlink_req_set_linkinfo_data_sit_remote(struct rt_link_newlink_req *req, - const void *remote, - size_t len) + const void *remote, size_t len) { req->_present.linkinfo = 1; req->linkinfo._present.data = 1; @@ -3992,8 +3989,7 @@ rt_link_newlink_req_set_linkinfo_data_vti_local(struct rt_link_newlink_req *req, } static inline void rt_link_newlink_req_set_linkinfo_data_vti_remote(struct rt_link_newlink_req *req, - const void *remote, - size_t len) + const void *remote, size_t len) { req->_present.linkinfo = 1; req->linkinfo._present.data = 1; @@ -4747,8 +4743,7 @@ rt_link_newlink_req_set_operstate(struct rt_link_newlink_req *req, req->operstate = operstate; } static inline void -rt_link_newlink_req_set_linkmode(struct rt_link_newlink_req *req, - __u8 linkmode) +rt_link_newlink_req_set_linkmode(struct rt_link_newlink_req *req, __u8 linkmode) { req->_present.linkmode = 1; req->linkmode = linkmode; @@ -4943,8 +4938,7 @@ static inline struct rt_link_dellink_req *rt_link_dellink_req_alloc(void) void rt_link_dellink_req_free(struct rt_link_dellink_req *req); static inline void -rt_link_dellink_req_set_nlflags(struct rt_link_dellink_req *req, - __u16 nl_flags) +rt_link_dellink_req_set_nlflags(struct rt_link_dellink_req *req, __u16 nl_flags) { req->_nlmsg_flags = nl_flags; } @@ -4994,8 +4988,7 @@ static inline struct rt_link_getlink_req *rt_link_getlink_req_alloc(void) void rt_link_getlink_req_free(struct rt_link_getlink_req *req); static inline void -rt_link_getlink_req_set_nlflags(struct rt_link_getlink_req *req, - __u16 nl_flags) +rt_link_getlink_req_set_nlflags(struct rt_link_getlink_req *req, __u16 nl_flags) { req->_nlmsg_flags = nl_flags; } @@ -8840,8 +8833,7 @@ static inline struct rt_link_setlink_req *rt_link_setlink_req_alloc(void) void rt_link_setlink_req_free(struct rt_link_setlink_req *req); static inline void -rt_link_setlink_req_set_nlflags(struct rt_link_setlink_req *req, - __u16 nl_flags) +rt_link_setlink_req_set_nlflags(struct rt_link_setlink_req *req, __u16 nl_flags) { req->_nlmsg_flags = nl_flags; } @@ -8979,8 +8971,7 @@ rt_link_setlink_req_set_operstate(struct rt_link_setlink_req *req, req->operstate = operstate; } static inline void -rt_link_setlink_req_set_linkmode(struct rt_link_setlink_req *req, - __u8 linkmode) +rt_link_setlink_req_set_linkmode(struct rt_link_setlink_req *req, __u8 linkmode) { req->_present.linkmode = 1; req->linkmode = linkmode; @@ -10177,8 +10168,7 @@ rt_link_setlink_req_set_linkinfo_data_gre_local(struct rt_link_setlink_req *req, } static inline void rt_link_setlink_req_set_linkinfo_data_gre_remote(struct rt_link_setlink_req *req, - const void *remote, - size_t len) + const void *remote, size_t len) { req->_present.linkinfo = 1; req->linkinfo._present.data = 1; @@ -11346,8 +11336,7 @@ rt_link_setlink_req_set_linkinfo_data_sit_local(struct rt_link_setlink_req *req, } static inline void rt_link_setlink_req_set_linkinfo_data_sit_remote(struct rt_link_setlink_req *req, - const void *remote, - size_t len) + const void *remote, size_t len) { req->_present.linkinfo = 1; req->linkinfo._present.data = 1; @@ -11733,8 +11722,7 @@ rt_link_setlink_req_set_linkinfo_data_vti_local(struct rt_link_setlink_req *req, } static inline void rt_link_setlink_req_set_linkinfo_data_vti_remote(struct rt_link_setlink_req *req, - const void *remote, - size_t len) + const void *remote, size_t len) { req->_present.linkinfo = 1; req->linkinfo._present.data = 1; diff --git a/home/nipa/nipa_out/1010855/ynl/old-code/rt-rule-user.h b/home/nipa/nipa_out/1010855/ynl/new-code/rt-rule-user.h index e490acc4ffde..1201376513e5 100644 --- a/home/nipa/nipa_out/1010855/ynl/old-code/rt-rule-user.h +++ b/home/nipa/nipa_out/1010855/ynl/new-code/rt-rule-user.h @@ -87,8 +87,7 @@ static inline struct rt_rule_newrule_req *rt_rule_newrule_req_alloc(void) void rt_rule_newrule_req_free(struct rt_rule_newrule_req *req); static inline void -rt_rule_newrule_req_set_nlflags(struct rt_rule_newrule_req *req, - __u16 nl_flags) +rt_rule_newrule_req_set_nlflags(struct rt_rule_newrule_req *req, __u16 nl_flags) { req->_nlmsg_flags = nl_flags; } @@ -186,15 +185,13 @@ rt_rule_newrule_req_set_uid_range(struct rt_rule_newrule_req *req, memcpy(req->uid_range, uid_range, req->_len.uid_range); } static inline void -rt_rule_newrule_req_set_protocol(struct rt_rule_newrule_req *req, - __u8 protocol) +rt_rule_newrule_req_set_protocol(struct rt_rule_newrule_req *req, __u8 protocol) { req->_present.protocol = 1; req->protocol = protocol; } static inline void -rt_rule_newrule_req_set_ip_proto(struct rt_rule_newrule_req *req, - __u8 ip_proto) +rt_rule_newrule_req_set_ip_proto(struct rt_rule_newrule_req *req, __u8 ip_proto) { req->_present.ip_proto = 1; req->ip_proto = ip_proto; @@ -331,8 +328,7 @@ static inline struct rt_rule_delrule_req *rt_rule_delrule_req_alloc(void) void rt_rule_delrule_req_free(struct rt_rule_delrule_req *req); static inline void -rt_rule_delrule_req_set_nlflags(struct rt_rule_delrule_req *req, - __u16 nl_flags) +rt_rule_delrule_req_set_nlflags(struct rt_rule_delrule_req *req, __u16 nl_flags) { req->_nlmsg_flags = nl_flags; } @@ -430,15 +426,13 @@ rt_rule_delrule_req_set_uid_range(struct rt_rule_delrule_req *req, memcpy(req->uid_range, uid_range, req->_len.uid_range); } static inline void -rt_rule_delrule_req_set_protocol(struct rt_rule_delrule_req *req, - __u8 protocol) +rt_rule_delrule_req_set_protocol(struct rt_rule_delrule_req *req, __u8 protocol) { req->_present.protocol = 1; req->protocol = protocol; } static inline void -rt_rule_delrule_req_set_ip_proto(struct rt_rule_delrule_req *req, - __u8 ip_proto) +rt_rule_delrule_req_set_ip_proto(struct rt_rule_delrule_req *req, __u8 ip_proto) { req->_present.ip_proto = 1; req->ip_proto = ip_proto; diff --git a/home/nipa/nipa_out/1010855/ynl/old-code/tc-user.c b/home/nipa/nipa_out/1010855/ynl/new-code/tc-user.c index 8ba3706e9504..21cf45fb45b6 100644 --- a/home/nipa/nipa_out/1010855/ynl/old-code/tc-user.c +++ b/home/nipa/nipa_out/1010855/ynl/new-code/tc-user.c @@ -1519,8 +1519,7 @@ int tc_flower_key_enc_opt_gtp_attrs_put(struct nlmsghdr *nlh, int tc_flower_key_enc_opt_gtp_attrs_parse(struct ynl_parse_arg *yarg, const struct nlattr *nested); void tc_tca_gred_vq_entry_attrs_free(struct tc_tca_gred_vq_entry_attrs *obj); -int tc_tca_gred_vq_entry_attrs_put(struct nlmsghdr *nlh, - unsigned int attr_type, +int tc_tca_gred_vq_entry_attrs_put(struct nlmsghdr *nlh, unsigned int attr_type, struct tc_tca_gred_vq_entry_attrs *obj); int tc_tca_gred_vq_entry_attrs_parse(struct ynl_parse_arg *yarg, const struct nlattr *nested); @@ -1642,8 +1641,7 @@ int tc_tca_gred_vq_list_attrs_put(struct nlmsghdr *nlh, unsigned int attr_type, int tc_tca_gred_vq_list_attrs_parse(struct ynl_parse_arg *yarg, const struct nlattr *nested); void tc_taprio_sched_entry_list_free(struct tc_taprio_sched_entry_list *obj); -int tc_taprio_sched_entry_list_put(struct nlmsghdr *nlh, - unsigned int attr_type, +int tc_taprio_sched_entry_list_put(struct nlmsghdr *nlh, unsigned int attr_type, struct tc_taprio_sched_entry_list *obj); int tc_taprio_sched_entry_list_parse(struct ynl_parse_arg *yarg, const struct nlattr *nested); @@ -1815,8 +1813,7 @@ int tc_cake_attrs_put(struct nlmsghdr *nlh, unsigned int attr_type, return 0; } -int tc_cake_attrs_parse(struct ynl_parse_arg *yarg, - const struct nlattr *nested) +int tc_cake_attrs_parse(struct ynl_parse_arg *yarg, const struct nlattr *nested) { struct tc_cake_attrs *dst = yarg->data; const struct nlattr *attr; @@ -4042,8 +4039,7 @@ void tc_tca_gred_vq_entry_attrs_free(struct tc_tca_gred_vq_entry_attrs *obj) { } -int tc_tca_gred_vq_entry_attrs_put(struct nlmsghdr *nlh, - unsigned int attr_type, +int tc_tca_gred_vq_entry_attrs_put(struct nlmsghdr *nlh, unsigned int attr_type, struct tc_tca_gred_vq_entry_attrs *obj) { struct nlattr *nest; @@ -5876,8 +5872,7 @@ int tc_flow_attrs_put(struct nlmsghdr *nlh, unsigned int attr_type, return 0; } -int tc_flow_attrs_parse(struct ynl_parse_arg *yarg, - const struct nlattr *nested) +int tc_flow_attrs_parse(struct ynl_parse_arg *yarg, const struct nlattr *nested) { struct tc_flow_attrs *dst = yarg->data; const struct nlattr *attr; @@ -6479,8 +6474,7 @@ void tc_taprio_sched_entry_list_free(struct tc_taprio_sched_entry_list *obj) free(obj->entry); } -int tc_taprio_sched_entry_list_put(struct nlmsghdr *nlh, - unsigned int attr_type, +int tc_taprio_sched_entry_list_put(struct nlmsghdr *nlh, unsigned int attr_type, struct tc_taprio_sched_entry_list *obj) { struct nlattr *nest; @@ -6920,8 +6914,7 @@ int tc_tca_stats_attrs_put(struct nlmsghdr *nlh, unsigned int attr_type, } int tc_tca_stats_attrs_parse(struct ynl_parse_arg *yarg, - const struct nlattr *nested, - const char *_sel_kind) + const struct nlattr *nested, const char *_sel_kind) { struct tc_tca_stats_attrs *dst = yarg->data; const struct nlattr *attr; @@ -7047,8 +7040,7 @@ int tc_gred_attrs_put(struct nlmsghdr *nlh, unsigned int attr_type, return 0; } -int tc_gred_attrs_parse(struct ynl_parse_arg *yarg, - const struct nlattr *nested) +int tc_gred_attrs_parse(struct ynl_parse_arg *yarg, const struct nlattr *nested) { struct tc_gred_attrs *dst = yarg->data; const struct nlattr *attr; diff --git a/home/nipa/nipa_out/1010855/ynl/old-code/tc-user.h b/home/nipa/nipa_out/1010855/ynl/new-code/tc-user.h index a83019fbdac5..70045b0993f9 100644 --- a/home/nipa/nipa_out/1010855/ynl/old-code/tc-user.h +++ b/home/nipa/nipa_out/1010855/ynl/new-code/tc-user.h @@ -1728,8 +1728,8 @@ tc_act_attrs_set_options_connmark_tm(struct tc_act_attrs *obj, const void *tm, memcpy(obj->options.connmark.tm, tm, obj->options.connmark._len.tm); } static inline void -tc_act_attrs_set_options_csum_parms(struct tc_act_attrs *obj, - const void *parms, size_t len) +tc_act_attrs_set_options_csum_parms(struct tc_act_attrs *obj, const void *parms, + size_t len) { obj->_present.options = 1; obj->options._present.csum = 1; @@ -1796,8 +1796,7 @@ tc_act_attrs_set_options_ct_mark(struct tc_act_attrs *obj, __u32 mark) obj->options.ct.mark = mark; } static inline void -tc_act_attrs_set_options_ct_mark_mask(struct tc_act_attrs *obj, - __u32 mark_mask) +tc_act_attrs_set_options_ct_mark_mask(struct tc_act_attrs *obj, __u32 mark_mask) { obj->_present.options = 1; obj->options._present.ct = 1; @@ -1805,8 +1804,8 @@ tc_act_attrs_set_options_ct_mark_mask(struct tc_act_attrs *obj, obj->options.ct.mark_mask = mark_mask; } static inline void -tc_act_attrs_set_options_ct_labels(struct tc_act_attrs *obj, - const void *labels, size_t len) +tc_act_attrs_set_options_ct_labels(struct tc_act_attrs *obj, const void *labels, + size_t len) { obj->_present.options = 1; obj->options._present.ct = 1; @@ -2010,8 +2009,8 @@ tc_act_attrs_set_options_gact_tm(struct tc_act_attrs *obj, const void *tm, memcpy(obj->options.gact.tm, tm, obj->options.gact._len.tm); } static inline void -tc_act_attrs_set_options_gact_parms(struct tc_act_attrs *obj, - const void *parms, size_t len) +tc_act_attrs_set_options_gact_parms(struct tc_act_attrs *obj, const void *parms, + size_t len) { obj->_present.options = 1; obj->options._present.gact = 1; @@ -2043,8 +2042,8 @@ tc_act_attrs_set_options_gate_tm(struct tc_act_attrs *obj, const void *tm, memcpy(obj->options.gate.tm, tm, obj->options.gate._len.tm); } static inline void -tc_act_attrs_set_options_gate_parms(struct tc_act_attrs *obj, - const void *parms, size_t len) +tc_act_attrs_set_options_gate_parms(struct tc_act_attrs *obj, const void *parms, + size_t len) { obj->_present.options = 1; obj->options._present.gate = 1; @@ -2054,8 +2053,7 @@ tc_act_attrs_set_options_gate_parms(struct tc_act_attrs *obj, memcpy(obj->options.gate.parms, parms, obj->options.gate._len.parms); } static inline void -tc_act_attrs_set_options_gate_priority(struct tc_act_attrs *obj, - __s32 priority) +tc_act_attrs_set_options_gate_priority(struct tc_act_attrs *obj, __s32 priority) { obj->_present.options = 1; obj->options._present.gate = 1; @@ -2224,8 +2222,8 @@ tc_act_attrs_set_options_mpls_tm(struct tc_act_attrs *obj, const void *tm, memcpy(obj->options.mpls.tm, tm, obj->options.mpls._len.tm); } static inline void -tc_act_attrs_set_options_mpls_parms(struct tc_act_attrs *obj, - const void *parms, size_t len) +tc_act_attrs_set_options_mpls_parms(struct tc_act_attrs *obj, const void *parms, + size_t len) { obj->_present.options = 1; obj->options._present.mpls = 1; @@ -2364,8 +2362,8 @@ tc_act_attrs_set_options_police_tbf(struct tc_act_attrs *obj, const void *tbf, memcpy(obj->options.police.tbf, tbf, obj->options.police._len.tbf); } static inline void -tc_act_attrs_set_options_police_rate(struct tc_act_attrs *obj, - const void *rate, size_t len) +tc_act_attrs_set_options_police_rate(struct tc_act_attrs *obj, const void *rate, + size_t len) { obj->_present.options = 1; obj->options._present.police = 1; @@ -2518,8 +2516,8 @@ tc_act_attrs_set_options_simple_parms(struct tc_act_attrs *obj, memcpy(obj->options.simple.parms, parms, obj->options.simple._len.parms); } static inline void -tc_act_attrs_set_options_simple_data(struct tc_act_attrs *obj, - const void *data, size_t len) +tc_act_attrs_set_options_simple_data(struct tc_act_attrs *obj, const void *data, + size_t len) { obj->_present.options = 1; obj->options._present.simple = 1; @@ -2632,8 +2630,8 @@ tc_act_attrs_set_options_skbmod_parms(struct tc_act_attrs *obj, memcpy(obj->options.skbmod.parms, parms, obj->options.skbmod._len.parms); } static inline void -tc_act_attrs_set_options_skbmod_dmac(struct tc_act_attrs *obj, - const void *dmac, size_t len) +tc_act_attrs_set_options_skbmod_dmac(struct tc_act_attrs *obj, const void *dmac, + size_t len) { obj->_present.options = 1; obj->options._present.skbmod = 1; @@ -2643,8 +2641,8 @@ tc_act_attrs_set_options_skbmod_dmac(struct tc_act_attrs *obj, memcpy(obj->options.skbmod.dmac, dmac, obj->options.skbmod._len.dmac); } static inline void -tc_act_attrs_set_options_skbmod_smac(struct tc_act_attrs *obj, - const void *smac, size_t len) +tc_act_attrs_set_options_skbmod_smac(struct tc_act_attrs *obj, const void *smac, + size_t len) { obj->_present.options = 1; obj->options._present.skbmod = 1; @@ -2665,8 +2663,8 @@ tc_act_attrs_set_options_skbmod_etype(struct tc_act_attrs *obj, memcpy(obj->options.skbmod.etype, etype, obj->options.skbmod._len.etype); } static inline void -tc_act_attrs_set_options_tunnel_key_tm(struct tc_act_attrs *obj, - const void *tm, size_t len) +tc_act_attrs_set_options_tunnel_key_tm(struct tc_act_attrs *obj, const void *tm, + size_t len) { obj->_present.options = 1; obj->options._present.tunnel_key = 1; @@ -2803,8 +2801,8 @@ tc_act_attrs_set_options_vlan_tm(struct tc_act_attrs *obj, const void *tm, memcpy(obj->options.vlan.tm, tm, obj->options.vlan._len.tm); } static inline void -tc_act_attrs_set_options_vlan_parms(struct tc_act_attrs *obj, - const void *parms, size_t len) +tc_act_attrs_set_options_vlan_parms(struct tc_act_attrs *obj, const void *parms, + size_t len) { obj->_present.options = 1; obj->options._present.vlan = 1; @@ -2842,8 +2840,7 @@ tc_act_attrs_set_options_vlan_push_vlan_priority(struct tc_act_attrs *obj, } static inline void tc_act_attrs_set_options_vlan_push_eth_dst(struct tc_act_attrs *obj, - const void *push_eth_dst, - size_t len) + const void *push_eth_dst, size_t len) { obj->_present.options = 1; obj->options._present.vlan = 1; @@ -2854,8 +2851,7 @@ tc_act_attrs_set_options_vlan_push_eth_dst(struct tc_act_attrs *obj, } static inline void tc_act_attrs_set_options_vlan_push_eth_src(struct tc_act_attrs *obj, - const void *push_eth_src, - size_t len) + const void *push_eth_src, size_t len) { obj->_present.options = 1; obj->options._present.vlan = 1; @@ -2993,8 +2989,7 @@ __tc_act_attrs_set_stats_app_cake_tin_stats(struct tc_act_attrs *obj, obj->stats.app.cake._count.tin_stats = n_tin_stats; } static inline void -tc_act_attrs_set_stats_app_cake_deficit(struct tc_act_attrs *obj, - __s32 deficit) +tc_act_attrs_set_stats_app_cake_deficit(struct tc_act_attrs *obj, __s32 deficit) { obj->_present.stats = 1; obj->stats._present.app = 1; @@ -6216,8 +6211,7 @@ tc_newqdisc_req_set_options_flower_key_enc_flags_mask(struct tc_newqdisc_req *re req->options.flower.key_enc_flags_mask = key_enc_flags_mask; } static inline void -tc_newqdisc_req_set_options_fq_plimit(struct tc_newqdisc_req *req, - __u32 plimit) +tc_newqdisc_req_set_options_fq_plimit(struct tc_newqdisc_req *req, __u32 plimit) { req->_present.options = 1; req->options._present.fq = 1; @@ -6401,8 +6395,7 @@ tc_newqdisc_req_set_options_fq_codel_interval(struct tc_newqdisc_req *req, req->options.fq_codel.interval = interval; } static inline void -tc_newqdisc_req_set_options_fq_codel_ecn(struct tc_newqdisc_req *req, - __u32 ecn) +tc_newqdisc_req_set_options_fq_codel_ecn(struct tc_newqdisc_req *req, __u32 ecn) { req->_present.options = 1; req->options._present.fq_codel = 1; @@ -6518,8 +6511,7 @@ tc_newqdisc_req_set_options_fq_pie_alpha(struct tc_newqdisc_req *req, req->options.fq_pie.alpha = alpha; } static inline void -tc_newqdisc_req_set_options_fq_pie_beta(struct tc_newqdisc_req *req, - __u32 beta) +tc_newqdisc_req_set_options_fq_pie_beta(struct tc_newqdisc_req *req, __u32 beta) { req->_present.options = 1; req->options._present.fq_pie = 1; @@ -6614,8 +6606,7 @@ tc_newqdisc_req_set_options_fw_police_rate(struct tc_newqdisc_req *req, } static inline void tc_newqdisc_req_set_options_fw_police_peakrate(struct tc_newqdisc_req *req, - const void *peakrate, - size_t len) + const void *peakrate, size_t len) { req->_present.options = 1; req->options._present.fw = 1; @@ -6775,8 +6766,7 @@ tc_newqdisc_req_set_options_gred_max_p(struct tc_newqdisc_req *req, memcpy(req->options.gred.max_p, max_p, count); } static inline void -tc_newqdisc_req_set_options_gred_limit(struct tc_newqdisc_req *req, - __u32 limit) +tc_newqdisc_req_set_options_gred_limit(struct tc_newqdisc_req *req, __u32 limit) { req->_present.options = 1; req->options._present.gred = 1; @@ -8666,8 +8656,7 @@ tc_newtclass_req_set_options_cake_raw(struct tc_newtclass_req *req, __u32 raw) req->options.cake.raw = raw; } static inline void -tc_newtclass_req_set_options_cake_wash(struct tc_newtclass_req *req, - __u32 wash) +tc_newtclass_req_set_options_cake_wash(struct tc_newtclass_req *req, __u32 wash) { req->_present.options = 1; req->options._present.cake = 1; @@ -9097,8 +9086,7 @@ tc_newtclass_req_set_options_etf_parms(struct tc_newtclass_req *req, memcpy(req->options.etf.parms, parms, req->options.etf._len.parms); } static inline void -tc_newtclass_req_set_options_flow_keys(struct tc_newtclass_req *req, - __u32 keys) +tc_newtclass_req_set_options_flow_keys(struct tc_newtclass_req *req, __u32 keys) { req->_present.options = 1; req->options._present.flow = 1; @@ -9106,8 +9094,7 @@ tc_newtclass_req_set_options_flow_keys(struct tc_newtclass_req *req, req->options.flow.keys = keys; } static inline void -tc_newtclass_req_set_options_flow_mode(struct tc_newtclass_req *req, - __u32 mode) +tc_newtclass_req_set_options_flow_mode(struct tc_newtclass_req *req, __u32 mode) { req->_present.options = 1; req->options._present.flow = 1; @@ -9142,8 +9129,7 @@ tc_newtclass_req_set_options_flow_addend(struct tc_newtclass_req *req, req->options.flow.addend = addend; } static inline void -tc_newtclass_req_set_options_flow_mask(struct tc_newtclass_req *req, - __u32 mask) +tc_newtclass_req_set_options_flow_mask(struct tc_newtclass_req *req, __u32 mask) { req->_present.options = 1; req->options._present.flow = 1; @@ -10964,8 +10950,7 @@ tc_newtclass_req_set_options_fq_pie_ecn_prob(struct tc_newtclass_req *req, req->options.fq_pie.ecn_prob = ecn_prob; } static inline void -tc_newtclass_req_set_options_fq_pie_ecn(struct tc_newtclass_req *req, - __u32 ecn) +tc_newtclass_req_set_options_fq_pie_ecn(struct tc_newtclass_req *req, __u32 ecn) { req->_present.options = 1; req->options._present.fq_pie = 1; @@ -11151,8 +11136,8 @@ tc_newtclass_req_set_options_gred_parms(struct tc_newtclass_req *req, memcpy(req->options.gred.parms, parms, req->options.gred._len.parms); } static inline void -tc_newtclass_req_set_options_gred_stab(struct tc_newtclass_req *req, - __u8 *stab, size_t count) +tc_newtclass_req_set_options_gred_stab(struct tc_newtclass_req *req, __u8 *stab, + size_t count) { req->_present.options = 1; req->options._present.gred = 1; @@ -12966,8 +12951,7 @@ tc_newtfilter_req_set_options_cake_diffserv_mode(struct tc_newtfilter_req *req, req->options.cake.diffserv_mode = diffserv_mode; } static inline void -tc_newtfilter_req_set_options_cake_atm(struct tc_newtfilter_req *req, - __u32 atm) +tc_newtfilter_req_set_options_cake_atm(struct tc_newtfilter_req *req, __u32 atm) { req->_present.options = 1; req->options._present.cake = 1; @@ -12993,8 +12977,7 @@ tc_newtfilter_req_set_options_cake_overhead(struct tc_newtfilter_req *req, req->options.cake.overhead = overhead; } static inline void -tc_newtfilter_req_set_options_cake_rtt(struct tc_newtfilter_req *req, - __u32 rtt) +tc_newtfilter_req_set_options_cake_rtt(struct tc_newtfilter_req *req, __u32 rtt) { req->_present.options = 1; req->options._present.cake = 1; @@ -13029,8 +13012,7 @@ tc_newtfilter_req_set_options_cake_memory(struct tc_newtfilter_req *req, req->options.cake.memory = memory; } static inline void -tc_newtfilter_req_set_options_cake_nat(struct tc_newtfilter_req *req, - __u32 nat) +tc_newtfilter_req_set_options_cake_nat(struct tc_newtfilter_req *req, __u32 nat) { req->_present.options = 1; req->options._present.cake = 1; @@ -13038,8 +13020,7 @@ tc_newtfilter_req_set_options_cake_nat(struct tc_newtfilter_req *req, req->options.cake.nat = nat; } static inline void -tc_newtfilter_req_set_options_cake_raw(struct tc_newtfilter_req *req, - __u32 raw) +tc_newtfilter_req_set_options_cake_raw(struct tc_newtfilter_req *req, __u32 raw) { req->_present.options = 1; req->options._present.cake = 1; @@ -13056,8 +13037,7 @@ tc_newtfilter_req_set_options_cake_wash(struct tc_newtfilter_req *req, req->options.cake.wash = wash; } static inline void -tc_newtfilter_req_set_options_cake_mpu(struct tc_newtfilter_req *req, - __u32 mpu) +tc_newtfilter_req_set_options_cake_mpu(struct tc_newtfilter_req *req, __u32 mpu) { req->_present.options = 1; req->options._present.cake = 1; @@ -13534,8 +13514,7 @@ tc_newtfilter_req_set_options_flow_mask(struct tc_newtfilter_req *req, req->options.flow.mask = mask; } static inline void -tc_newtfilter_req_set_options_flow_xor(struct tc_newtfilter_req *req, - __u32 xor) +tc_newtfilter_req_set_options_flow_xor(struct tc_newtfilter_req *req, __u32 xor) { req->_present.options = 1; req->options._present.flow = 1; @@ -15516,8 +15495,7 @@ __tc_newtfilter_req_set_options_fw_act(struct tc_newtfilter_req *req, req->options.fw._count.act = n_act; } static inline void -tc_newtfilter_req_set_options_fw_mask(struct tc_newtfilter_req *req, - __u32 mask) +tc_newtfilter_req_set_options_fw_mask(struct tc_newtfilter_req *req, __u32 mask) { req->_present.options = 1; req->options._present.fw = 1; @@ -19486,8 +19464,7 @@ tc_newchain_req_set_options_flower_key_enc_flags_mask(struct tc_newchain_req *re req->options.flower.key_enc_flags_mask = key_enc_flags_mask; } static inline void -tc_newchain_req_set_options_fq_plimit(struct tc_newchain_req *req, - __u32 plimit) +tc_newchain_req_set_options_fq_plimit(struct tc_newchain_req *req, __u32 plimit) { req->_present.options = 1; req->options._present.fq = 1; @@ -19671,8 +19648,7 @@ tc_newchain_req_set_options_fq_codel_interval(struct tc_newchain_req *req, req->options.fq_codel.interval = interval; } static inline void -tc_newchain_req_set_options_fq_codel_ecn(struct tc_newchain_req *req, - __u32 ecn) +tc_newchain_req_set_options_fq_codel_ecn(struct tc_newchain_req *req, __u32 ecn) { req->_present.options = 1; req->options._present.fq_codel = 1; @@ -19788,8 +19764,7 @@ tc_newchain_req_set_options_fq_pie_alpha(struct tc_newchain_req *req, req->options.fq_pie.alpha = alpha; } static inline void -tc_newchain_req_set_options_fq_pie_beta(struct tc_newchain_req *req, - __u32 beta) +tc_newchain_req_set_options_fq_pie_beta(struct tc_newchain_req *req, __u32 beta) { req->_present.options = 1; req->options._present.fq_pie = 1; @@ -19884,8 +19859,7 @@ tc_newchain_req_set_options_fw_police_rate(struct tc_newchain_req *req, } static inline void tc_newchain_req_set_options_fw_police_peakrate(struct tc_newchain_req *req, - const void *peakrate, - size_t len) + const void *peakrate, size_t len) { req->_present.options = 1; req->options._present.fw = 1; @@ -20045,8 +20019,7 @@ tc_newchain_req_set_options_gred_max_p(struct tc_newchain_req *req, memcpy(req->options.gred.max_p, max_p, count); } static inline void -tc_newchain_req_set_options_gred_limit(struct tc_newchain_req *req, - __u32 limit) +tc_newchain_req_set_options_gred_limit(struct tc_newchain_req *req, __u32 limit) { req->_present.options = 1; req->options._present.gred = 1;