/* Copyright 2011-2014 Autronica Fire and Security AS * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the License, or (at your option) * any later version. * * Author(s): * 2011-2014 Arvid Brodin, arvid.brodin@alten.se */ #ifndef __HSR_DEVICE_H #define __HSR_DEVICE_H #include #include "hsr_main.h" void hsr_dev_setup(struct net_device *dev); int hsr_dev_finalize(struct net_device *hsr_dev, struct net_device *slave[2], unsigned char multicast_spec, u8 protocol_version); void hsr_check_carrier_and_operstate(struct hsr_priv *hsr); bool is_hsr_master(struct net_device *dev); int hsr_get_max_mtu(struct hsr_priv *hsr); #endif /* __HSR_DEVICE_H */ d>
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/net/ife/Makefile
diff options
context:
space:
mode:
authorYotam Gigi <yotamg@mellanox.com>2017-02-01 15:30:02 +0200
committerDavid S. Miller <davem@davemloft.net>2017-02-03 15:16:45 -0500
commit1ce8460496c05379c66edc178c3c55ca4e953044 (patch)
treeb20cd3585da85f00946feb48549d5cdc7c87e2b5 /net/ife/Makefile
parent1d5e7c859e81a66674d194c346119d154d31e9dc (diff)
net: Introduce ife encapsulation module
This module is responsible for the ife encapsulation protocol encode/decode logics. That module can: - ife_encode: encode skb and reserve space for the ife meta header - ife_decode: decode skb and extract the meta header size - ife_tlv_meta_encode - encodes one tlv entry into the reserved ife header space. - ife_tlv_meta_decode - decodes one tlv entry from the packet - ife_tlv_meta_next - advance to the next tlv Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Yotam Gigi <yotamg@mellanox.com> Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: Roman Mashak <mrv@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ife/Makefile')
-rw-r--r--net/ife/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/ife/Makefile b/net/ife/Makefile
new file mode 100644