diff options
Diffstat (limited to 'include/linux/udp.h')
| -rw-r--r-- | include/linux/udp.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/udp.h b/include/linux/udp.h index bdd39be09406..014b41d1e308 100644 --- a/include/linux/udp.h +++ b/include/linux/udp.h | |||
| @@ -20,10 +20,10 @@ | |||
| 20 | #include <linux/types.h> | 20 | #include <linux/types.h> |
| 21 | 21 | ||
| 22 | struct udphdr { | 22 | struct udphdr { |
| 23 | __u16 source; | 23 | __be16 source; |
| 24 | __u16 dest; | 24 | __be16 dest; |
| 25 | __u16 len; | 25 | __be16 len; |
| 26 | __u16 check; | 26 | __be16 check; |
| 27 | }; | 27 | }; |
| 28 | 28 | ||
| 29 | /* UDP socket options */ | 29 | /* UDP socket options */ |
| @@ -46,7 +46,7 @@ struct udp_sock { | |||
| 46 | unsigned int corkflag; /* Cork is required */ | 46 | unsigned int corkflag; /* Cork is required */ |
| 47 | __u16 encap_type; /* Is this an Encapsulation socket? */ | 47 | __u16 encap_type; /* Is this an Encapsulation socket? */ |
| 48 | /* | 48 | /* |
| 49 | * Following member retains the infomation to create a UDP header | 49 | * Following member retains the information to create a UDP header |
| 50 | * when the socket is uncorked. | 50 | * when the socket is uncorked. |
| 51 | */ | 51 | */ |
| 52 | __u16 len; /* total length of pending frames */ | 52 | __u16 len; /* total length of pending frames */ |
