Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified identifiers according to the naming convention of the C language standard. #122

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/glb-director/glb_director_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#ifndef _GLB_DIRECTOR_CONFIG_H
#define _GLB_DIRECTOR_CONFIG_H
#ifndef GLB_DIRECTOR_CONFIG_H
#define GLB_DIRECTOR_CONFIG_H
#include <rte_ether.h>

#define MAX_FLOW_PATHS 32
Expand Down
6 changes: 3 additions & 3 deletions src/glb-hashing/packet_parsing.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#ifndef _PACKET_PARSING_H_
#define _PACKET_PARSING_H_
#ifndef PACKET_PARSING_H
#define PACKET_PARSING_H

#include <stdint.h>

Expand Down Expand Up @@ -461,4 +461,4 @@ static __always_inline uint64_t glb_compute_hash(glb_route_context *route_contex
return pkt_hash;
}

#endif /* _PACKET_PARSING_H_ */
#endif /* PACKET_PARSING_H */
6 changes: 3 additions & 3 deletions src/glb-hashing/pdnet.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<http://creativecommons.org/publicdomain/zero/1.0/>.
*/

#ifndef _PDNET_H_
#define _PDNET_H_
#ifndef PDNET_H
#define PDNET_H

#include <stdint.h>
#include <endian.h>
Expand Down Expand Up @@ -206,4 +206,4 @@ struct pdnet_icmpv6_too_big_hdr {
#define PDNET_IP_PROTO_UDP 0x11
#define PDNET_IP_PROTO_ICMPV6 0x3A

#endif /* _PDNET_H_ */
#endif /* PDNET_H */
4 changes: 2 additions & 2 deletions src/glb-redirect/ipt_glbredirect.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
* along with glb-redirect. If not, see <https://www.gnu.org/licenses/>.
*/

#ifndef __IPT_GLBREDIRECT_MATCH__
#define __IPT_GLBREDIRECT_MATCH__
#ifndef IPT_GLBREDIRECT_MATCH
#define IPT_GLBREDIRECT_MATCH

struct ipt_glbredirect_info {

Expand Down