Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Unloading the Driver

Once you have enabled IP communication on a device using ifconfig, the IP protocol is attached to your driver inside the kernel’s networking stack. (See Network Kernel Extensions Programming Guide for more information about the networking stack.) Once a protocol is attached, your driver cannot be unloaded until you detach the protocol.

To detach the IP protocol from your network device, you can issue the following command from the command line:

ipconfig set en1 NONE

Substitute the appropriate interface name instead of en1, of course. This will disable IP networking for the interface. You can then unload the driver KEXT using kextunload.

For more information, see the manual pages for ipconfig(8) and kextunload(8).



< Previous PageNext Page > Hide TOC


Last updated: 2008-03-11




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice