diff options
author | glebius <glebius@FreeBSD.org> | 2005-02-12 11:41:32 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2005-02-12 11:41:32 +0000 |
commit | 0382724fd953dcd5d794a85e6099ac9d9fdd1663 (patch) | |
tree | 30374dc3c16bce7743363d885b0b8cd23322a338 /sys/netgraph/ng_ether.h | |
parent | 03b8abc87714fb6328d3cdd33f74a266f1aa84c6 (diff) | |
download | FreeBSD-src-0382724fd953dcd5d794a85e6099ac9d9fdd1663.zip FreeBSD-src-0382724fd953dcd5d794a85e6099ac9d9fdd1663.tar.gz |
Add two new netgraph messages NGM_ETHER_ADD_MULTI and NGM_ETHER_DEL_MULTI,
to join and leave Ethernet multicast membership, respectively. Messages
take MAC address as argument.
Sponsored by: Rinet ISP
Diffstat (limited to 'sys/netgraph/ng_ether.h')
-rw-r--r-- | sys/netgraph/ng_ether.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netgraph/ng_ether.h b/sys/netgraph/ng_ether.h index e91a6b1..ffe8e8a 100644 --- a/sys/netgraph/ng_ether.h +++ b/sys/netgraph/ng_ether.h @@ -47,7 +47,7 @@ /* Node type name and magic cookie */ #define NG_ETHER_NODE_TYPE "ether" -#define NGM_ETHER_COOKIE 917786906 +#define NGM_ETHER_COOKIE 1108206947 /* Hook names */ #define NG_ETHER_HOOK_LOWER "lower" /* connection to raw device */ @@ -65,7 +65,8 @@ enum { NGM_ETHER_SET_PROMISC, /* enable/disable promiscuous mode */ NGM_ETHER_GET_AUTOSRC, /* get source address override */ NGM_ETHER_SET_AUTOSRC, /* enable/disable src addr override */ + NGM_ETHER_ADD_MULTI, /* add multicast membership */ + NGM_ETHER_DEL_MULTI, /* delete multicast membership */ }; #endif /* _NETGRAPH_NG_ETHER_H_ */ - |