[OpenWrt-Devel] [PATCH] [netifd] enable MULTICAST on GRE
Nick Podolak
nicholas.e.podolak at gmail.com
Mon Aug 17 10:40:16 EDT 2015
On Sat, Aug 15, 2015 at 3:25 AM, Hans Dedecker <dedeckeh at gmail.com> wrote:
> It would be better to make this a device setting like promiscuous
>> mode,macaddr, etc ... so it can be configured via UCI for every device and
>> thus not only restricted for GRE
>>
>
> Hans
>
You make an excellent point and I agree, but I'm unsure of some of the
details.
Is promisc mode controllable from UCI? I didn't think it was but I can't
tell from looking at these parts of netifd.
Help me understand the extent of this implementation. Looks like each of
these would need modification. Did i miss anything?
device.c
static const struct blobmsg_policy dev_attrs[__DEV_ATTR_MAX] = {
device_merge_settings(struct device *dev, struct device_settings *n)
device_init_settings(struct device *dev, struct blob_attr **tb)
device_dump_status(struct blob_buf *b, struct device *dev)
system-linux.c
system_if_get_settings(struct device *dev, struct device_settings *s)
system_if_apply_settings(struct device *dev, struct device_settings *s,
unsigned int apply_mask)
UCI is all passthrough, right? nothing there would have to change?
-Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150817/c2d806e1/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list