View | Details | Raw Unified | Return to bug 215197 | Differences between
and this patch

Collapse All | Expand All

(-)b/pkg/fpgasp/packet_types.hh (-3 / +2 lines)
Lines 1-15 Link Here
1
/*
1
/*
2
 * Copyright 2007 - Symmetricom, Inc.
2
 * Copyright 2007-2016 - Microsemi Corp.
3
 * All Rights Reserved.
3
 * All Rights Reserved.
4
 *
4
 *
5
 * $TSC: devel/pkg/fpgasp/packet_types.hh,v 1.4 2009/05/04 13:54:08 trentmeester Exp $
5
 * $TSC$
6
 */
6
 */
7
7
8
#ifndef FPGASP_PACKET_TYPES_HH
8
#ifndef FPGASP_PACKET_TYPES_HH
9
#define FPGASP_PACKET_TYPES_HH
9
#define FPGASP_PACKET_TYPES_HH
10
10
11
#include <stdint.h>
11
#include <stdint.h>
12
#include <util/types.hh>
13
12
14
namespace FpgaSP
13
namespace FpgaSP
15
{
14
{
(-)b/pkg/lantronix/ldp.hh (-5 / +2 lines)
Lines 1-17 Link Here
1
/*
1
/*
2
 * Copyright 2012 - Symmetricom, Inc.
2
 * Copyright 2012-2016 - Microsemi Corp.
3
 * All Rights Reserved.
3
 * All Rights Reserved.
4
 * 
5
 * $TSC: devel/pkg/lantronix/ldp.hh $
6
 *
4
 *
5
 * $TSC$
7
 */
6
 */
8
7
9
#ifndef LANTRONIX_LDP_HH
8
#ifndef LANTRONIX_LDP_HH
10
#define LANTRONIX_LDP_HH
9
#define LANTRONIX_LDP_HH
11
10
12
#include <stdint.h>
11
#include <stdint.h>
13
#include <util/types.hh>
14
15
#include <string>
12
#include <string>
16
#include <vector>
13
#include <vector>
17
14
(-)b/pkg/smcp/consts.hh (-7 / +7 lines)
Lines 1-12 Link Here
1
//
1
/*
2
//  Copyright (c) 2012 Symmetricom, Inc.
2
 * Copyright 2012-2016 - Microsemi Corp.
3
//  All Rights Reserved.
3
 * All Rights Reserved.
4
//
4
 *
5
//  $TSC$
5
 * $TSC$
6
//
6
 */
7
7
8
#include <stddef.h>
8
#include <stdint.h>
9
#include <stdint.h>
9
#include <util/types.hh>
10
10
11
// SMCP protocol constants
11
// SMCP protocol constants
12
12
(-)b/pkg/smcp/node_id.hh (-7 / +8 lines)
Lines 1-13 Link Here
1
//
1
/*
2
//  Copyright (c) 2013-2014 Microsemi Corp.
2
 * Copyright 2013-2016 - Microsemi Corp.
3
//  All Rights Reserved.
3
 * All Rights Reserved.
4
//
4
 *
5
//  $TSC$
5
 * $TSC$
6
//
6
 */
7
7
#ifndef SMCP_NODE_ID_HH
8
#ifndef SMCP_NODE_ID_HH
8
#define SMCP_NODE_ID_HH
9
#define SMCP_NODE_ID_HH
10
9
#include <stdint.h>
11
#include <stdint.h>
10
#include <util/types.hh>
11
12
12
namespace SMCP
13
namespace SMCP
13
{
14
{
(-)b/pkg/util/endian.hh (-5 / +2 lines)
Lines 1-8 Link Here
1
/*
1
/*
2
 * Copyright (C) 2002-2013 - Timing Solutions Corporation.
2
 * Copyright 2002-2016 - Microsemi Corp.
3
 * All Rights Reserved.
3
 * All Rights Reserved.
4
 *
4
 *
5
 * $TSC: devel/pkg/util/endian.hh $
5
 * $TSC$
6
 */
6
 */
7
7
8
#ifndef UTIL_ENDIAN_HH
8
#ifndef UTIL_ENDIAN_HH
Lines 17-25 Link Here
17
#include <endian.h>
17
#include <endian.h>
18
#endif
18
#endif
19
19
20
#include <util/types.hh>
21
22
23
#ifndef bswap16
20
#ifndef bswap16
24
static inline uint16_t
21
static inline uint16_t
25
bswap16(uint16_t x)
22
bswap16(uint16_t x)
(-)b/pkg/util/reverse.hh (-3 / +2 lines)
Lines 1-15 Link Here
1
/*
1
/*
2
 * Copyright 2013 - Symmetricom, Inc.
2
 * Copyright 2013-2016 - Microsemi Corp.
3
 * All Rights Reserved.
3
 * All Rights Reserved.
4
 *
4
 *
5
 * $TSC:Exp $
5
 * $TSC$
6
 */
6
 */
7
7
8
#ifndef UTIL_REVERSE_HH
8
#ifndef UTIL_REVERSE_HH
9
#define UTIL_REVERSE_HH
9
#define UTIL_REVERSE_HH
10
10
11
#include <stdint.h>
11
#include <stdint.h>
12
#include <util/types.hh>
13
12
14
namespace TSC
13
namespace TSC
15
{
14
{
(-)b/pkg/util/unixtime.hh (-13 / +8 lines)
Lines 1-24 Link Here
1
//
1
/*
2
// Copyright 2008 - Symmetricom, Inc.
2
 * Copyright 2008-2016 - Microsemi Corp.
3
// All Rights Reserved.
3
 * All Rights Reserved.
4
//
4
 *
5
// $TSC: devel/pkg/util/unixtime.hh,v 1.6 2009/08/11 21:35:52 jhein Exp $
5
 * $TSC$
6
//
6
 */
7
7
8
#ifndef UTIL_UNIXTIME_HH
8
#ifndef UTIL_UNIXTIME_HH
9
#define UTIL_UNIXTIME_HH
9
#define UTIL_UNIXTIME_HH
10
10
11
#include <iostream>
12
#include <stdarg.h>
11
#include <stdint.h>
13
#include <stdint.h>
12
#include <iostream>
13
#include <stdio.h>
14
#include <string>
14
#include <string>
15
16
#include <sys/time.h>
15
#include <sys/time.h>
17
#include <time.h>
16
#include <time.h>
18
#include <stdarg.h>
19
20
#include <util/types.hh>
21
22
17
23
/** Encapsulation of unix time (meaning time counted as seconds-since-1970).
18
/** Encapsulation of unix time (meaning time counted as seconds-since-1970).
24
 *
19
 *
(-)b/pkg/util/utstd.hh (-5 / +3 lines)
Lines 1-8 Link Here
1
/*
1
/*
2
 * Copyright 1999-2008 - Symmetricom, Inc.
2
 * Copyright 1999-2016 - Microsemi Corp.
3
 * All Rights Reserved.
3
 * All Rights Reserved.
4
 *
4
 *
5
 * $TSC: devel/pkg/util/utstd.hh,v 1.36 2007/09/04 22:46:26 imp Exp $
5
 * $TSC$
6
 */
6
 */
7
7
8
#ifndef _UTIL_UTSTD_HH
8
#ifndef _UTIL_UTSTD_HH
Lines 11-22 Link Here
11
#include <stdint.h>
11
#include <stdint.h>
12
#include <string>
12
#include <string>
13
#include <sys/cdefs.h>
13
#include <sys/cdefs.h>
14
#include <sys/param.h>
14
#include <sys/time.h>
15
#include <sys/time.h>
15
#include <sys/param.h>
16
#include <time.h>
16
#include <time.h>
17
17
18
#include <util/types.hh>
19
20
void logExit(const char *msg, int doAbort, int runDtors = false) __attribute__ ((noreturn));
18
void logExit(const char *msg, int doAbort, int runDtors = false) __attribute__ ((noreturn));
21
char const * logFileName();
19
char const * logFileName();
22
void bitcopy(uint8_t *src, int soff, uint8_t *dst, int doff, size_t len);
20
void bitcopy(uint8_t *src, int soff, uint8_t *dst, int doff, size_t len);

Return to bug 215197