summaryrefslogtreecommitdiffstats
path: root/src/if.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-04-14 12:54:16 +0300
committerRoy Marples <roy@marples.name>2019-04-14 12:54:16 +0300
commit8fd49722375c32af29a384a0fe76d010b20adb4d (patch)
treea6b2e62b5de052b18784ae780393c2bb862bd4df /src/if.h
parent558c927371f9c5475f75c7e29800d20a1f873afc (diff)
downloaddhcpcd-8fd49722375c32af29a384a0fe76d010b20adb4d.tar.xz
sun: Fix carrier detection, MTU detection and plumbing
dhcpcd no longer needs ifconfig to do the initial plumbing.
Diffstat (limited to 'src/if.h')
-rw-r--r--src/if.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/if.h b/src/if.h
index 2f20764c..c8e406da 100644
--- a/src/if.h
+++ b/src/if.h
@@ -129,6 +129,9 @@ int if_domtu(const struct interface *, short int);
#define if_setmtu(ifp, mtu) if_domtu((ifp), (mtu))
int if_carrier(struct interface *);
+int if_carrier_os(struct interface *);
+int if_mtu_os(const struct interface *);
+
/*
* Helper to decode an interface name of bge0:1 to
* devname = bge0, drvname = bge0, ppa = 0, lun = 1.