mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
netlink: add attributes to fdb interface
Later changes need to be able to refer to neighbour attributes when doing fdb_add. Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
de0a41484c
commit
edc7d57327
6 changed files with 12 additions and 7 deletions
|
|
@ -608,7 +608,8 @@ static int fdb_add_entry(struct net_bridge_port *source, const __u8 *addr,
|
|||
}
|
||||
|
||||
/* Add new permanent fdb entry with RTM_NEWNEIGH */
|
||||
int br_fdb_add(struct ndmsg *ndm, struct net_device *dev,
|
||||
int br_fdb_add(struct ndmsg *ndm, struct nlattr *tb[],
|
||||
struct net_device *dev,
|
||||
const unsigned char *addr, u16 nlh_flags)
|
||||
{
|
||||
struct net_bridge_port *p;
|
||||
|
|
|
|||
|
|
@ -364,7 +364,7 @@ extern void br_fdb_update(struct net_bridge *br,
|
|||
extern int br_fdb_delete(struct ndmsg *ndm,
|
||||
struct net_device *dev,
|
||||
const unsigned char *addr);
|
||||
extern int br_fdb_add(struct ndmsg *nlh,
|
||||
extern int br_fdb_add(struct ndmsg *nlh, struct nlattr *tb[],
|
||||
struct net_device *dev,
|
||||
const unsigned char *addr,
|
||||
u16 nlh_flags);
|
||||
|
|
|
|||
Loading…
Reference in a new issue