batctl: use reverse xmas tree declaration order
PATCH 1/1 batctl: use reverse xmas tree declaration order
In the kernel, network related code is supposed (according to the "Networking subsystem (netdev)" documentation) to use the "reverse xmas tree" style of variable declarations. To keep it consistent between the userspace and kernelspace code, also use the same for userspace.
Signed-off-by Sven Eckelmann <[email protected]>
--- aggregation.c | 6 ++++-- ap_isolation.c | 6 ++++-- bisect_iv.c | 6 ++++-- bonding.c | 6 ++++-- bridge_loop_avoidance.c | 6 ++++-- dat_cache.c | 4 +++- distributed_arp_table.c | 6 ++++-- elp_interval.c | 6 ++++-- fragmentation.c | 6 ++++-- functions.c | 12 ++++++------ gateways.c | 2 +- genl.c | 2 +- gw_mode.c | 8 ++++---- hop_penalty.c | 12 ++++++++---- icmp_helper.c | 5 +++-- interface.c | 2 +- isolation_mark.c | 9 ++++++--- list.h | 4 ++-- main.c | 10 +++++----- multicast_fanout.c | 9 ++++++--- multicast_forceflood.c | 6 ++++-- multicast_mode.c | 6 ++++-- neighbors.c | 3 ++- orig_interval.c | 6 ++++-- sys.c | 14 ++++++++------ tcpdump.c | 8 ++++---- throughput_override.c | 9 ++++++--- throughputmeter.c | 4 ++-- transglobal.c | 6 +++++- 29 files changed, 117 insertions(+), 72 deletions(-)
aggregation.c +4 -2
@@ -32,10 +32,12 @@ static int get_aggregated_ogms(struct state *state)static int set_attrs_aggregated_ogms (struct nl_msg *msg,void *arg) { +struct simple_boolean_data *data; +struct settings_data *settings;struct state *state = arg; -struct settings_data *settings = state->cmd->arg; -struct simple_boolean_data *data = settings->data; + settings = state->cmd->arg; + data = settings->data;nla_put_u8 (msg,BATADV_ATTR_AGGREGATED_OGMS_ENABLED , data->val);return 0 ;
ap_isolation.c +4 -2
@@ -47,10 +47,12 @@ static int get_ap_isolation(struct state *state)static int set_attrs_ap_isolation (struct nl_msg *msg,void *arg) { +struct simple_boolean_data *data; +struct settings_data *settings;struct state *state = arg; -struct settings_data *settings = state->cmd->arg; -struct simple_boolean_data *data = settings->data; + settings = state->cmd->arg; + data = settings->data;nla_put_u8 (msg,BATADV_ATTR_AP_ISOLATION_ENABLED , data->val);if (state->selector ==SP_VLAN )
bisect_iv.c +4 -2
@@ -1147,7 +1147,8 @@ static int seqno_trace_fix_leaf(struct seqno_trace_neigh *seqno_trace_mom, {struct seqno_trace_neigh *seqno_trace_neigh;struct seqno_trace_neigh **data_ptr; -int i, j =0 ; +int j =0 ; +int i; data_ptr =calloc (seqno_trace_old_mom->num_neighbors -1 ,sizeof (*data_ptr));if (!data_ptr)
@@ -1174,7 +1175,8 @@ static int seqno_trace_check_leaves(struct seqno_trace *seqno_trace, struct seqno_trace_neigh *seqno_trace_neigh_new) {struct seqno_trace_neigh *seqno_trace_neigh_tmp; -int i, res; +int res; +int i;for (i =0 ; i < seqno_trace->seqno_trace_neigh.num_neighbors; i++) { seqno_trace_neigh_tmp = seqno_trace->seqno_trace_neigh.seqno_trace_neigh[i];
bonding.c +4 -2
@@ -31,10 +31,12 @@ static int get_bonding(struct state *state)static int set_attrs_bonding (struct nl_msg *msg,void *arg) { +struct simple_boolean_data *data; +struct settings_data *settings;struct state *state = arg; -struct settings_data *settings = state->cmd->arg; -struct simple_boolean_data *data = settings->data; + settings = state->cmd->arg; + data = settings->data;nla_put_u8 (msg,BATADV_ATTR_BONDING_ENABLED , data->val);return 0 ;
bridge_loop_avoidance.c +4 -2
@@ -32,10 +32,12 @@ static int get_bridge_loop_avoidance(struct state *state)static int set_attrs_bridge_loop_avoidance (struct nl_msg *msg,void *arg) { +struct simple_boolean_data *data; +struct settings_data *settings;struct state *state = arg; -struct settings_data *settings = state->cmd->arg; -struct simple_boolean_data *data = settings->data; + settings = state->cmd->arg; + data = settings->data;nla_put_u8 (msg,BATADV_ATTR_BRIDGE_LOOP_AVOIDANCE_ENABLED , data->val);return 0 ;
dat_cache.c +3 -1
@@ -33,13 +33,15 @@ static const int dat_cache_mandatory[] = {static int dat_cache_callback (struct nl_msg *msg,void *arg) { -int last_seen_msecs, last_seen_secs, last_seen_mins;struct nlattr *attrs[BATADV_ATTR_MAX +1 ];struct nlmsghdr *nlh =nlmsg_hdr (msg);struct print_opts *opts = arg;struct bat_host *bat_host;struct genlmsghdr *ghdr;struct in_addr in_addr; +int last_seen_msecs; +int last_seen_mins; +int last_seen_secs;uint8_t *hwaddr;int16_t vid;char *addr;
distributed_arp_table.c +4 -2
@@ -32,10 +32,12 @@ static int get_distributed_arp_table(struct state *state)static int set_attrs_distributed_arp_table (struct nl_msg *msg,void *arg) { +struct simple_boolean_data *data; +struct settings_data *settings;struct state *state = arg; -struct settings_data *settings = state->cmd->arg; -struct simple_boolean_data *data = settings->data; + settings = state->cmd->arg; + data = settings->data;nla_put_u8 (msg,BATADV_ATTR_DISTRIBUTED_ARP_TABLE_ENABLED , data->val);return 0 ;
elp_interval.c +4 -2
@@ -81,10 +81,12 @@ static int get_elp_interval(struct state *state)static int set_attrs_elp_interval (struct nl_msg *msg,void *arg) { +struct settings_data *settings; +struct elp_interval_data *data;struct state *state = arg; -struct settings_data *settings = state->cmd->arg; -struct elp_interval_data *data = settings->data; + settings = state->cmd->arg; + data = settings->data;nla_put_u32 (msg,BATADV_ATTR_HARD_IFINDEX , state->hif);nla_put_u32 (msg,BATADV_ATTR_ELP_INTERVAL , data->elp_interval);
fragmentation.c +4 -2
@@ -32,10 +32,12 @@ static int get_fragmentation(struct state *state)static int set_attrs_fragmentation (struct nl_msg *msg,void *arg) { +struct simple_boolean_data *data; +struct settings_data *settings;struct state *state = arg; -struct settings_data *settings = state->cmd->arg; -struct simple_boolean_data *data = settings->data; + settings = state->cmd->arg; + data = settings->data;nla_put_u8 (msg,BATADV_ATTR_FRAGMENTATION_ENABLED , data->val);return 0 ;
functions.c +6 -6
@@ -135,8 +135,8 @@ static bool ether_addr_valid(const uint8_t *addr)int read_file (const char *full_path,int read_opt) {int res =EXIT_FAILURE ; -size_t len =0 ;FILE *fp =NULL ; +size_t len =0 ; fp =fopen (full_path,"r" );if (!fp) {
@@ -580,11 +580,6 @@ struct rtnl_link_iface_data {static int query_rtnl_link_single_parse (struct nl_msg *msg,void *arg) { -static struct nla_policy link_policy[IFLA_MAX +1 ] = { - [IFLA_LINKINFO ] = { .type =NLA_NESTED }, - [IFLA_MASTER ] = { .type =NLA_U32 }, - [IFLA_LINK ] = { .type =NLA_U32 }, - };static struct nla_policy link_info_policy[IFLA_INFO_MAX +1 ] = { [IFLA_INFO_KIND ] = { .type =NLA_STRING }, [IFLA_INFO_DATA ] = { .type =NLA_NESTED },
@@ -592,6 +587,11 @@ static int query_rtnl_link_single_parse(struct nl_msg *msg, void *arg)static struct nla_policy vlan_policy[IFLA_VLAN_MAX +1 ] = { [IFLA_VLAN_ID ] = { .type =NLA_U16 }, }; +static struct nla_policy link_policy[IFLA_MAX +1 ] = { + [IFLA_LINKINFO ] = { .type =NLA_NESTED }, + [IFLA_MASTER ] = { .type =NLA_U32 }, + [IFLA_LINK ] = { .type =NLA_U32 }, + };struct rtnl_link_iface_data *link_data = arg;struct nlattr *li[IFLA_INFO_MAX +1 ];
gateways.c +1 -1
@@ -39,8 +39,8 @@ static int gateways_callback(struct nl_msg *msg, void *arg)struct print_opts *opts = arg;struct bat_host *bat_host;struct genlmsghdr *ghdr; -const char *primary_if;uint32_t bandwidth_down; +const char *primary_if;uint32_t bandwidth_up;uint32_t throughput;uint8_t *router;
genl.c +1 -1
@@ -45,9 +45,9 @@ struct mcast_handler_args {static int mcast_family_handler (struct nl_msg *msg,void *arg) { +struct genlmsghdr *gnlh =nlmsg_data (nlmsg_hdr (msg));struct mcast_handler_args *grp = arg;struct nlattr *tb[CTRL_ATTR_MAX +1 ]; -struct genlmsghdr *gnlh =nlmsg_data (nlmsg_hdr (msg));struct nlattr *mcgrp;int rem_mcgrp;
gw_mode.c +4 -4
@@ -154,9 +154,7 @@ static int parse_gw(struct state *state, int argc, char *argv[])static int print_gw (struct nl_msg *msg,void *arg) { -static const int mandatory[] = { -BATADV_ATTR_GW_MODE , - }; +struct nlattr *attrs[BATADV_ATTR_MAX +1 ];static const int mandatory_client[] = {BATADV_ATTR_ALGO_NAME ,BATADV_ATTR_GW_SEL_CLASS ,
@@ -165,8 +163,10 @@ static int print_gw(struct nl_msg *msg, void *arg)BATADV_ATTR_GW_BANDWIDTH_DOWN , BATADV_ATTR_GW_BANDWIDTH_UP, }; -struct nlattr *attrs[BATADV_ATTR_MAX +1 ];struct nlmsghdr *nlh =nlmsg_hdr (msg); +static const int mandatory[] = { +BATADV_ATTR_GW_MODE , + };struct genlmsghdr *ghdr;int *result = arg;const char *algo;
hop_penalty.c +8 -4
@@ -88,10 +88,12 @@ static int get_hop_penalty_if(struct state *state)static int set_attrs_hop_penalty (struct nl_msg *msg,void *arg) { +struct settings_data *settings; +struct hop_penalty_data *data;struct state *state = arg; -struct settings_data *settings = state->cmd->arg; -struct hop_penalty_data *data = settings->data; + settings = state->cmd->arg; + data = settings->data;nla_put_u8 (msg,BATADV_ATTR_HOP_PENALTY , data->hop_penalty);return 0 ;
@@ -105,10 +107,12 @@ static int set_hop_penalty(struct state *state)static int set_attrs_hop_penalty_if (struct nl_msg *msg,void *arg) { +struct settings_data *settings; +struct hop_penalty_data *data;struct state *state = arg; -struct settings_data *settings = state->cmd->arg; -struct hop_penalty_data *data = settings->data; + settings = state->cmd->arg; + data = settings->data;nla_put_u32 (msg,BATADV_ATTR_HARD_IFINDEX , state->hif);nla_put_u8 (msg,BATADV_ATTR_HOP_PENALTY , data->hop_penalty);
icmp_helper.c +3 -2
@@ -83,7 +83,6 @@ void icmp_interface_destroy(struct icmp_interface *iface) static int icmp_interface_filter(int sock, int uid) { - struct sock_fprog filter; struct sock_filter accept_icmp[] = { /* load ethernet proto */ BPF_STMT(BPF_LD + BPF_H + BPF_ABS,
@@ -146,6 +145,7 @@ static int icmp_interface_filter(int sock, int uid) BPF_STMT(BPF_RET + BPF_K, 0), }; +struct sock_fprog filter;memset (&filter,0 ,sizeof (filter)); filter.len =sizeof (accept_icmp) /sizeof (*accept_icmp);
@@ -303,7 +303,8 @@ static void icmp_interface_unmark(void)static void icmp_interface_sweep (void ) { -struct icmp_interface *iface, *safe; +struct icmp_interface *iface; +struct icmp_interface *safe;list_for_each_entry_safe (iface, safe, &interface_list, list) {if (iface->mark)
interface.c +1 -1
@@ -182,8 +182,8 @@ static int count_interfaces_rtnl_parse(struct nl_msg *msg, void *arg)struct count_interfaces_rtnl_arg *count_arg = arg;struct nlattr *attrs[IFLA_MAX +1 ];struct ifinfomsg *ifm; -int ret;int master; +int ret; ifm =nlmsg_data (nlmsg_hdr (msg)); ret = nlmsg_parse(nlmsg_hdr(msg), sizeof(*ifm), attrs, IFLA_MAX,
isolation_mark.c +6 -3
@@ -22,7 +22,7 @@ static struct isolation_mark_data {static int parse_isolation_mark (struct state *state,int argc,char *argv[]) {struct settings_data *settings = state->cmd->arg; -struct isolation_mark_data *data = settings->data; +struct isolation_mark_data *data;char *mask_ptr;char buff[256 ];uint32_t mark;
@@ -59,6 +59,7 @@ static int parse_isolation_mark(struct state *state, int argc, char *argv[])if (!endptr || *endptr !='\0' ) goto inval_format; + data = settings->data; data->isolation_mask = mask;/* erase bits not covered by the mask */ data->isolation_mark = mark & mask;
@@ -110,10 +111,12 @@ static int get_isolation_mark(struct state *state)static int set_attrs_isolation_mark (struct nl_msg *msg,void *arg) { +struct isolation_mark_data *data; +struct settings_data *settings;struct state *state = arg; -struct settings_data *settings = state->cmd->arg; -struct isolation_mark_data *data = settings->data; + settings = state->cmd->arg; + data = settings->data;nla_put_u32 (msg,BATADV_ATTR_ISOLATION_MARK , data->isolation_mark);nla_put_u32 (msg,BATADV_ATTR_ISOLATION_MASK , data->isolation_mask);
list.h +2 -2
@@ -247,8 +247,8 @@ static inline void list_splice(struct list_head *list,static inline void list_splice_tail (struct list_head *list,struct list_head *head) { -struct list_head *head_last = head->prev;struct list_head *list_first = list->next; +struct list_head *head_last = head->prev;struct list_head *list_last = list->prev;if (list_empty (list))
@@ -628,8 +628,8 @@ static inline void hlist_add_behind(struct hlist_node *new_node,*/ static inline void hlist_del (struct hlist_node *node) { -struct hlist_node *next = node->next;struct hlist_node **pprev = node->pprev; +struct hlist_node *next = node->next;if (pprev) *pprev = next;
main.c +5 -5
@@ -57,18 +57,18 @@ static void print_usage(void)"meshif <netdev> " , NULL, }; +static const char *const hardif_prefixes[] = { +"hardif <netdev> " , +NULL , + };static const char *const vlan_prefixes[] = {"vlan <vdev> " ,"meshif <netdev> vid <vid> " ,NULL , }; -static const char *const hardif_prefixes[] = { -"hardif <netdev> " , -NULL , - }; -const struct command **p;const char *const *prefixes;const char *const *prefix; +const struct command **p;char buf[64 ];size_t i;
multicast_fanout.c +6 -3
@@ -21,7 +21,7 @@ static struct multicast_fanout_data {static int parse_multicast_fanout (struct state *state,int argc,char *argv[]) {struct settings_data *settings = state->cmd->arg; -struct multicast_fanout_data *data = settings->data; +struct multicast_fanout_data *data;char *endptr;if (argc !=2 ) {
@@ -29,6 +29,7 @@ static int parse_multicast_fanout(struct state *state, int argc, char *argv[])return -EINVAL ; } + data = settings->data; data->multicast_fanout =strtoul (argv[1 ], &endptr,0 );if (!endptr || *endptr !='\0' ) {fprintf (stderr,"Error - the supplied argument is invalid: %s\n" , argv[1 ]);
@@ -72,10 +73,12 @@ static int get_multicast_fanout(struct state *state)static int set_attrs_multicast_fanout (struct nl_msg *msg,void *arg) { +struct multicast_fanout_data *data; +struct settings_data *settings;struct state *state = arg; -struct settings_data *settings = state->cmd->arg; -struct multicast_fanout_data *data = settings->data; + settings = state->cmd->arg; + data = settings->data;nla_put_u32 (msg,BATADV_ATTR_MULTICAST_FANOUT , data->multicast_fanout);return 0 ;
multicast_forceflood.c +4 -2
@@ -53,10 +53,12 @@ static int get_multicast_forceflood(struct state *state)static int set_attrs_multicast_forceflood (struct nl_msg *msg,void *arg) { +struct simple_boolean_data *data; +struct settings_data *settings;struct state *state = arg; -struct settings_data *settings = state->cmd->arg; -struct simple_boolean_data *data = settings->data; + settings = state->cmd->arg; + data = settings->data;nla_put_u8 (msg,BATADV_ATTR_MULTICAST_FORCEFLOOD_ENABLED , data->val);return 0 ;
multicast_mode.c +4 -2
@@ -53,10 +53,12 @@ static int get_multicast_mode(struct state *state)static int set_attrs_multicast_mode (struct nl_msg *msg,void *arg) { +struct simple_boolean_data *data; +struct settings_data *settings;struct state *state = arg; -struct settings_data *settings = state->cmd->arg; -struct simple_boolean_data *data = settings->data; + settings = state->cmd->arg; + data = settings->data;nla_put_u8 (msg,BATADV_ATTR_MULTICAST_FORCEFLOOD_ENABLED , !data->val);return 0 ;
neighbors.c +2 -1
@@ -33,13 +33,14 @@ static int neighbors_callback(struct nl_msg *msg, void *arg) {struct nlattr *attrs[BATADV_ATTR_MAX +1 ];struct nlmsghdr *nlh =nlmsg_hdr (msg); -int last_seen_msecs, last_seen_secs;struct print_opts *opts = arg;unsigned int throughput_mbits;unsigned int throughput_kbits;char ifname_buf[IF_NAMESIZE ];struct bat_host *bat_host;struct genlmsghdr *ghdr; +int last_seen_msecs; +int last_seen_secs;uint32_t ifindex;uint8_t *neigh;char *ifname;
orig_interval.c +4 -2
@@ -72,10 +72,12 @@ static int get_orig_interval(struct state *state)static int set_attrs_orig_interval (struct nl_msg *msg,void *arg) { +struct orig_interval_data *data; +struct settings_data *settings;struct state *state = arg; -struct settings_data *settings = state->cmd->arg; -struct orig_interval_data *data = settings->data; + settings = state->cmd->arg; + data = settings->data;nla_put_u32 (msg,BATADV_ATTR_ORIG_INTERVAL , data->orig_interval);return 0 ;
sys.c +8 -6
@@ -27,7 +27,7 @@int parse_simple_boolean (struct state *state,int argc,char *argv[]) {struct settings_data *settings = state->cmd->arg; -struct simple_boolean_data *data = settings->data; +struct simple_boolean_data *data;int ret;if (argc !=2 ) {
@@ -35,6 +35,7 @@ int parse_simple_boolean(struct state *state, int argc, char *argv[])return -EINVAL ; } + data = settings->data; ret =parse_bool (argv[1 ], &data->val);if (ret <0 ) {fprintf (stderr,"Error - the supplied argument is invalid: %s\n" , argv[1 ]);
@@ -154,15 +155,15 @@ static void settings_usage(struct state *state)"meshif <netdev> " , NULL, }; +static const char *const hardif_prefixes[] = { +"hardif <netdev> " , +NULL , + };static const char *const vlan_prefixes[] = {"vlan <vdev> " ,"meshif <netdev> vid <vid> " ,NULL , }; -static const char *const hardif_prefixes[] = { -"hardif <netdev> " , -NULL , - };const char *linestart ="Usage:" ;const char *const *prefixes;const char *const *prefix;
@@ -229,7 +230,8 @@ static int sys_write_setting(struct state *state)int handle_sys_setting (struct state *state,int argc,char **argv) {struct settings_data *settings = state->cmd->arg; -int optchar, res =EXIT_FAILURE ; +int res =EXIT_FAILURE ; +int optchar;while ((optchar =getopt (argc, argv,"h" )) !=-1 ) {switch (optchar) {
tcpdump.c +4 -4
@@ -114,7 +114,8 @@ static void batctl_tvlv_parse_gw_v1(void *buff, ssize_t buff_len, int read_opt __maybe_unused) {struct batadv_tvlv_gateway_data *tvlv = buff; -uint32_t down, up; +uint32_t down; +uint32_t up;if (buff_len !=sizeof (*tvlv)) { fprintf(stderr,
@@ -590,9 +591,9 @@ static void dump_ipv6(unsigned char *packet_buff, ssize_t buff_len, int time_printed) {struct nd_neighbor_solicit *nd_neigh_sol; +static const char ip_string[] ="IP6" ;struct nd_neighbor_advert *nd_advert;char nd_nas_target[INET6_ADDRSTRLEN ]; -static const char ip_string[] ="IP6" ;char ipsrc[INET6_ADDRSTRLEN ];char ipdst[INET6_ADDRSTRLEN ];struct icmp6_hdr *icmphdr;
@@ -833,8 +834,8 @@ static void dump_vlan(unsigned char *packet_buff, ssize_t buff_len, int read_optstatic void dump_batman_iv_ogm (unsigned char *packet_buff,ssize_t buff_len,int read_opt,int time_printed) { -struct ether_header *ether_header;struct batadv_ogm_packet *batman_ogm_packet; +struct ether_header *ether_header;ssize_t check_len;ssize_t tvlv_len;
@@ -944,7 +945,6 @@ static void dump_batman_icmp(unsigned char *packet_buff, ssize_t buff_len, {struct batadv_icmp_packet *icmp_packet;struct batadv_icmp_tp_packet *tp; -char *name;LEN_CHECK ((size_t )buff_len -sizeof (struct ether_header ),sizeof (struct batadv_icmp_packet ),"BAT ICMP" );
throughput_override.c +6 -3
@@ -22,7 +22,7 @@ static struct throughput_override_data {static int parse_throughput_override (struct state *state,int argc,char *argv[]) {struct settings_data *settings = state->cmd->arg; -struct throughput_override_data *data = settings->data; +struct throughput_override_data *data;bool ret;if (argc !=2 ) {
@@ -30,6 +30,7 @@ static int parse_throughput_override(struct state *state, int argc, char *argv[]return -EINVAL ; } + data = settings->data; ret =parse_throughput (argv[1 ],"throughput override" , &data->throughput_override);if (!ret)
@@ -84,10 +85,12 @@ static int get_throughput_override(struct state *state)static int set_attrs_throughput_override (struct nl_msg *msg,void *arg) { +struct throughput_override_data *data; +struct settings_data *settings;struct state *state = arg; -struct settings_data *settings = state->cmd->arg; -struct throughput_override_data *data = settings->data; + settings = state->cmd->arg; + data = settings->data;nla_put_u32 (msg,BATADV_ATTR_HARD_IFINDEX , state->hif);nla_put_u32 (msg,BATADV_ATTR_THROUGHPUT_OVERRIDE , data->throughput_override);
throughputmeter.c +2 -2
@@ -67,9 +67,9 @@ static int tpmeter_nl_print_error(struct sockaddr_nl *nla __maybe_unused,static int tp_meter_result_callback (struct nl_msg *msg,void *arg) { -struct tp_result *result = arg;struct nlmsghdr *nlh =nlmsg_hdr (msg);struct nlattr *attrs[NUM_BATADV_ATTR ]; +struct tp_result *result = arg;struct genlmsghdr *ghdr;uint32_t cookie;
@@ -242,8 +242,8 @@ static struct nl_sock *tp_prepare_listening_sock(void) {struct nl_sock *sock;int family; -int ret;int mcid; +int ret; sock =nl_socket_alloc ();if (!sock)
transglobal.c +5 -1
@@ -39,7 +39,6 @@ static int transglobal_callback(struct nl_msg *msg, void *arg)struct print_opts *opts = arg;struct bat_host *bat_host;struct genlmsghdr *ghdr; -char c, r, w, i, t;uint8_t last_ttvn;uint32_t crc32;uint32_t flags;
@@ -47,6 +46,11 @@ static int transglobal_callback(struct nl_msg *msg, void *arg)uint8_t *orig;uint8_t ttvn;int16_t vid; +char c; +char r; +char w; +char i; +char t;if (!genlmsg_valid_hdr (nlh,0 )) {fputs ("Received invalid data from kernel.\n" , stderr);
---
base-commit: 8e67af37f812ac1fa2020033342693d63b6a4756
change-id: 20260608-reverse-xmas-c2a9a1c540d6
Best regards,
Signature · 1 line
Sven Eckelmann <[email protected]>