Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SkmsgDisable ¶
func SkmsgDisable()
SkmsgDisable "unloads" the SK_MSG program. This simply deletes the file associated with the program.
func SkmsgEnable ¶
func SkmsgEnable() error
SkmsgEnable will compile and attach the SK_MSG programs to the sockmap. After this all sockets added to the cilium_sock_ops will have sendmsg/sendfile calls running through BPF program.
func SockmapDisable ¶
func SockmapDisable()
SockmapDisable will detach any sockmap programs from cgroups then "unload" all the programs and maps associated with it. Here "unload" just means deleting the file associated with the map.
func SockmapEnable ¶
func SockmapEnable() error
SockmapEnable will compile sockops programs and attach the sockops programs to the cgroup. After this all TCP connect events will be filtered by a BPF sockops program.
Types ¶
This section is empty.