KNET_HANDLE_PMTUD_GET(3)

πŸ’– KNET_HANDLE_PMTUD_GET(3) πŸ’–

okay so bestie, welcome to the Kronosnet Programmer's Manual β€” this is the page for knet_handle_pmtud_get, and it is literally the chillest little function you'll ever meet. sit down, grab a strawberry πŸ“, let's go.


✨ NAME ✨

knet_handle_pmtud_get β€” get the current data MTU. that's it. that's the whole vibe. πŸ’…


🌸 SYNOPSIS 🌸

#include <libknet.h>

int knet_handle_pmtud_get(
    knet_handle_t   knet_h,
    unsigned int   *data_mtu
);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so, knet_handle_pmtud_get β€” here's what it's giving:

  • knet_h β€” pointer to knet_handle_t. yes queen, the handle. the main character. πŸ‘‘
  • data_mtu β€” pointer where to store data_mtu. it's the lil spot where the answer gets dropped off. πŸŽ€

and that's the whole description fr fr, no cap.


⭐ RETURN VALUE ⭐

knet_handle_pmtud_get returns 0 on success β€” slay πŸ’– β€” and -1 on error, in which case errno is set. so if it's giving -1, go check your errno, bestie, she knows what happened. 😭


🌈 SEE ALSO 🌈

so many friends, we love a supportive network (literally). go read these next:


Copyright (C) 2010-2026 Red Hat, Inc. All rights reserved.


and that's the whole page, bestie 🫢 this was kronosnet, dated 2026-07-20, and you just read KNET_HANDLE_PMTUD_GET(3). go get that data MTU, you absolute icon. πŸ’…βœ¨

πŸ“¦ where this page comes from