[PATCH 9/9] [RFC] Add setup_tun() callback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 8, 2016 at 5:26 AM, Kevin Cernekee <cernekee at gmail.com> wrote:
> Library users used to do something like:
>
>   openconnect_obtain_cookie()
>   openconnect_make_cstp_connection()
>   openconnect_setup_dtls()
>   openconnect_get_ip_info()
>   # ask the OS to create the tun interface
>   openconnect_setup_tun_fd()
>   openconnect_mainloop()
>
> But now that MTU is calculated a few seconds after the mainloop starts
> up, it is necessary to provide a callback so that the calling application
> can create a tun interface with the correct MTU.

That seems to address my previous comment; sorry.



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux