History

ipv6: sr: add missing Kbuild export for header files

Add missing IPv6-SR header files in include/uapi/linux/Kbuild. Also, prevent seg6_lwt_headroom() from being exported and add missing linux/types.h include.

David Lebrun committed 9 years ago

Commit a50a05f1 parent 2d071c64 files · +11 −0Browse files

Showing the changes to include/uapi/linux (4 of 4 files). Show all

Unified · Split

4 files
  1. include/uapi/linux/Kbuild +4 −0
  2. include/uapi/linux/seg6.h +2 −0
  3. include/uapi/linux/seg6_hmac.h +1 −0
  4. include/uapi/linux/seg6_iptunnel.h +4 −0
include/uapi/linux/Kbuild+4−0
@@ -379,6 +379,10 @@ header-y += sctp.h · 378 unmodified lines
379header-y += sdla.h379header-y += sdla.h
380header-y += seccomp.h380header-y += seccomp.h
381header-y += securebits.h381header-y += securebits.h
382header-y += seg6_genl.h
383header-y += seg6.h
384header-y += seg6_hmac.h
385header-y += seg6_iptunnel.h
382header-y += selinux_netlink.h386header-y += selinux_netlink.h
383header-y += sem.h387header-y += sem.h
384header-y += serial_core.h388header-y += serial_core.h
include/uapi/linux/seg6.h+2−0
@@ -14,6 +14,8 @@ · 13 unmodified lines
14#ifndef _UAPI_LINUX_SEG6_H14#ifndef _UAPI_LINUX_SEG6_H
15#define _UAPI_LINUX_SEG6_H15#define _UAPI_LINUX_SEG6_H
16 16
17#include <linux/types.h>
18
17/*19/*
18 * SRH20 * SRH
19 */21 */
include/uapi/linux/seg6_hmac.h+1−0
@@ -1,6 +1,7 @@
1#ifndef _UAPI_LINUX_SEG6_HMAC_H1#ifndef _UAPI_LINUX_SEG6_HMAC_H
2#define _UAPI_LINUX_SEG6_HMAC_H2#define _UAPI_LINUX_SEG6_HMAC_H
3 3
4#include <linux/types.h>
4#include <linux/seg6.h>5#include <linux/seg6.h>
5 6
6#define SEG6_HMAC_SECRET_LEN 647#define SEG6_HMAC_SECRET_LEN 64
include/uapi/linux/seg6_iptunnel.h+4−0
@@ -33,6 +33,8 @@ enum { · 32 unmodified lines
33 SEG6_IPTUN_MODE_ENCAP,33 SEG6_IPTUN_MODE_ENCAP,
34};34};
35 35
36#ifdef __KERNEL__
37
36static inline size_t seg6_lwt_headroom(struct seg6_iptunnel_encap *tuninfo)38static inline size_t seg6_lwt_headroom(struct seg6_iptunnel_encap *tuninfo)
37{39{
38 int encap = (tuninfo->mode == SEG6_IPTUN_MODE_ENCAP);40 int encap = (tuninfo->mode == SEG6_IPTUN_MODE_ENCAP);
@@ -42,3 +44,5 @@ static inline size_t seg6_lwt_headroom(struct seg6_iptunnel_encap *tuninfo) · 3 unmodified lines
42}44}
43 45
44#endif46#endif
47
48#endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t