Skip to content

Commit

Permalink
add copyright headers
Browse files Browse the repository at this point in the history
  • Loading branch information
bobzhuyb committed Jun 11, 2018
1 parent 550809c commit 1e19b74
Show file tree
Hide file tree
Showing 35 changed files with 76 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ffrouter/constant.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#define NSTRS 3 /* no. of strings */
#define ADDRESS "/freeflow/router_unix.sock" /* addr to connect */

Expand Down
3 changes: 3 additions & 0 deletions ffrouter/ffrouter.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#include "ffrouter.h"
#include "rdma_api.h"
#include "verbs_cmd.h"
Expand Down
3 changes: 3 additions & 0 deletions ffrouter/ffrouter.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#ifndef FFROUTER_H
#define FFROUTER_H

Expand Down
3 changes: 3 additions & 0 deletions ffrouter/log.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#ifndef LOG_H
#define LOG_H

Expand Down
3 changes: 3 additions & 0 deletions ffrouter/main.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#include "ffrouter.h"
#include "constant.h"

Expand Down
3 changes: 3 additions & 0 deletions ffrouter/rdma_api.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#include "rdma_api.h"

unsigned long
Expand Down
3 changes: 3 additions & 0 deletions ffrouter/rdma_api.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#ifndef RDMA_API_H
#define RDMA_API_H

Expand Down
3 changes: 3 additions & 0 deletions ffrouter/shared_memory.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#include "shared_memory.h"

ShmPiece::ShmPiece(const char* name, int size)
Expand Down
3 changes: 3 additions & 0 deletions ffrouter/shared_memory.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#ifndef SHARED_MEMORY_H
#define SHARED_MEMORY_H

Expand Down
2 changes: 2 additions & 0 deletions ffrouter/tokenbucket.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
Copyright (c) 2016 Erik Rigtorp <[email protected]>
Copyright (c) Microsoft Corporation. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
3 changes: 3 additions & 0 deletions ffrouter/types.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#ifndef TYPES_H
#define TYPES_H

Expand Down
3 changes: 3 additions & 0 deletions ffrouter/verbs_cmd.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#include "verbs_cmd.h"
#include <stdio.h>

Expand Down
3 changes: 3 additions & 0 deletions ffrouter/verbs_cmd.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#ifndef VERBS_CMD_H
#define VERBS_CMD_H

Expand Down
3 changes: 3 additions & 0 deletions libmempool/MemoryPool.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

/*-
* Copyright (c) 2013 Cosku Acay, http://www.coskuacay.com
*
Expand Down
1 change: 1 addition & 0 deletions libmempool/MemoryPool.tcc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*-
* Copyright (c) 2013 Cosku Acay, http://www.coskuacay.com
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
Expand Down
3 changes: 3 additions & 0 deletions libmempool/libmempool.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#include "libmempool.h"

MemPool::MemPool() {
Expand Down
3 changes: 3 additions & 0 deletions libmempool/libmempool.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#include <unordered_map>
#include <queue>
#include <cstdint>
Expand Down
3 changes: 3 additions & 0 deletions libmempool/test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#include <stdio.h>
#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. */

#ifndef FREEFLOW_TYPES_H
#define FREEFLOW_TYPES_H

Expand Down
3 changes: 3 additions & 0 deletions libraries/libibverbs-1.2.1mlnx1/include/infiniband/freeflow.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. */

#ifndef FREEFLOW_H
#define FREEFLOW_H

Expand Down
1 change: 1 addition & 0 deletions libraries/libibverbs-1.2.1mlnx1/include/infiniband/verbs.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright (c) 2004, 2011-2012 Intel Corporation. All rights reserved.
* Copyright (c) 2005, 2006, 2007 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2005 PathScale, Inc. All rights reserved.
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright (c) 2004, 2011-2012 Intel Corporation. All rights reserved.
* Copyright (c) 2005, 2006, 2007 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2005 PathScale, Inc. All rights reserved.
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
Expand Down
1 change: 1 addition & 0 deletions libraries/libibverbs-1.2.1mlnx1/src/cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Copyright (c) 2005 Topspin Communications. All rights reserved.
* Copyright (c) 2005 PathScale, Inc. All rights reserved.
* Copyright (c) 2006 Cisco Systems, Inc. All rights reserved.
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
Expand Down
1 change: 1 addition & 0 deletions libraries/libibverbs-1.2.1mlnx1/src/cmd_exp.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (c) 2005 Topspin Communications. All rights reserved.
* Copyright (c) 2006, 2007 Cisco Systems, Inc. All rights reserved.
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
Expand Down
3 changes: 3 additions & 0 deletions libraries/libibverbs-1.2.1mlnx1/src/freeflow.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. */

#if HAVE_CONFIG_H
# include <config.h>
#endif /* HAVE_CONFIG_H */
Expand Down
1 change: 1 addition & 0 deletions libraries/libibverbs-1.2.1mlnx1/src/verbs.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (c) 2005 Topspin Communications. All rights reserved.
* Copyright (c) 2006, 2007 Cisco Systems, Inc. All rights reserved.
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
Expand Down
1 change: 1 addition & 0 deletions libraries/libmlx4-1.2.1mlnx1/src/cq.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Copyright (c) 2005 Topspin Communications. All rights reserved.
* Copyright (c) 2005 Mellanox Technologies Ltd. All rights reserved.
* Copyright (c) 2006, 2007 Cisco Systems. All rights reserved.
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
Expand Down
1 change: 1 addition & 0 deletions libraries/libmlx4-1.2.1mlnx1/src/mlx4.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2007 Cisco, Inc. All rights reserved.
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
Expand Down
1 change: 1 addition & 0 deletions libraries/libmlx4-1.2.1mlnx1/src/mlx4.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (c) 2004, 2005 Topspin Communications. All rights reserved.
* Copyright (c) 2005, 2006, 2007 Cisco Systems. All rights reserved.
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
Expand Down
1 change: 1 addition & 0 deletions libraries/libmlx4-1.2.1mlnx1/src/qp.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Copyright (c) 2005 Topspin Communications. All rights reserved.
* Copyright (c) 2005 Mellanox Technologies Ltd. All rights reserved.
* Copyright (c) 2007 Cisco, Inc. All rights reserved.
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
Expand Down
1 change: 1 addition & 0 deletions libraries/libmlx4-1.2.1mlnx1/src/srq.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2007 Cisco, Inc. All rights reserved.
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
Expand Down
1 change: 1 addition & 0 deletions libraries/libmlx4-1.2.1mlnx1/src/verbs.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2007 Cisco, Inc. All rights reserved.
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
Expand Down
1 change: 1 addition & 0 deletions libraries/libmlx4-1.2.1mlnx1/src/verbs_exp.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2007 Cisco, Inc. All rights reserved.
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
Expand Down
3 changes: 3 additions & 0 deletions libraries/librdmacm-1.1.0mlnx/src/freeflow.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. */

#if HAVE_CONFIG_H
# include <config.h>
#endif /* HAVE_CONFIG_H */
Expand Down
1 change: 1 addition & 0 deletions libraries/librdmacm-1.1.0mlnx/src/rsocket.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2008-2014 Intel Corporation. All rights reserved.
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
Expand Down

0 comments on commit 1e19b74

Please sign in to comment.