> +static ssize_t ieee80211_if_fmt_unicast( > + const struct ieee80211_sub_if_data *sdata, char *buf, int > buflen) That's a very ... unusual way to break the lines here - please either break after the first argument, or before the function name. You should see lots of examples for both. However, regardless of that, I don't think that debugfs is an appropriate way to configure a production option like this. > + int unicast; bool, quite obviously. > +/* rewrite destination mac address */ > +static int ieee80211_tx_dnat(struct sk_buff *skb, struct sta_info > *sta) How is this DNAT? johannes