~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to include/linux/ptp_classify.h

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
#include <linux/if_ether.h>
27
27
#include <linux/if_vlan.h>
 
28
#include <linux/ip.h>
28
29
#include <linux/filter.h>
29
30
#ifdef __KERNEL__
30
31
#include <linux/in.h>
58
59
#define OFF_NEXT        6
59
60
#define OFF_UDP_DST     2
60
61
 
 
62
#define OFF_PTP_SOURCE_UUID     22 /* PTPv1 only */
 
63
#define OFF_PTP_SEQUENCE_ID     30
 
64
#define OFF_PTP_CONTROL         32 /* PTPv1 only */
 
65
 
 
66
#define IPV4_HLEN(data) (((struct iphdr *)(data + OFF_IHL))->ihl << 2)
 
67
 
61
68
#define IP6_HLEN        40
62
69
#define UDP_HLEN        8
63
70