type net.Interface
31 uses
net (current package)
interface.go#L31: type Interface struct {
interface.go#L75: func (ifi *Interface) Addrs() ([]Addr, error) {
interface.go#L88: func (ifi *Interface) MulticastAddrs() ([]Addr, error) {
interface.go#L100: func Interfaces() ([]Interface, error) {
interface.go#L129: func InterfaceByIndex(index int) (*Interface, error) {
interface.go#L144: func interfaceByIndex(ift []Interface, index int) (*Interface, error) {
interface.go#L154: func InterfaceByName(name string) (*Interface, error) {
interface.go#L194: func (zc *ipv6ZoneCache) update(ift []Interface, force bool) (updated bool) {
interface_linux.go#L16: func interfaceTable(ifindex int) ([]Interface, error) {
interface_linux.go#L25: var ift []Interface
interface_linux.go#L58: func newLink(ifim *syscall.IfInfomsg, attrs []syscall.NetlinkRouteAttr) *Interface {
interface_linux.go#L59: ifi := &Interface{Index: int(ifim.Index), Flags: linkFlags(ifim.Flags)}
interface_linux.go#L120: func interfaceAddrTable(ifi *Interface) ([]Addr, error) {
interface_linux.go#L129: var ift []Interface
interface_linux.go#L144: func addrTable(ift []Interface, ifi *Interface, msgs []syscall.NetlinkMessage) ([]Addr, error) {
interface_linux.go#L204: func interfaceMulticastAddrTable(ifi *Interface) ([]Addr, error) {
interface_linux.go#L210: func parseProcNetIGMP(path string, ifi *Interface) []Addr {
interface_linux.go#L247: func parseProcNetIGMP6(path string, ifi *Interface) []Addr {
sockopt_posix.go#L23: func ipv4AddrToInterface(ip IP) (*Interface, error) {
sockopt_posix.go#L52: func interfaceToIPv4Addr(ifi *Interface) (IP, error) {
sockopt_posix.go#L75: func setIPv4MreqToInterface(mreq *syscall.IPMreq, ifi *Interface) error {
sockoptip_linux.go#L12: func setIPv4MulticastInterface(fd *netFD, ifi *Interface) error {
sockoptip_posix.go#L14: func joinIPv4Group(fd *netFD, ifi *Interface, ip IP) error {
sockoptip_posix.go#L24: func setIPv6MulticastInterface(fd *netFD, ifi *Interface) error {
sockoptip_posix.go#L40: func joinIPv6Group(fd *netFD, ifi *Interface, ip IP) error {
udpsock.go#L349: func ListenMulticastUDP(network string, ifi *Interface, gaddr *UDPAddr) (*UDPConn, error) {
udpsock_posix.go#L221: func (sl *sysListener) listenMulticastUDP(ctx context.Context, ifi *Interface, gaddr *UDPAddr) (*UDPConn, error) {
udpsock_posix.go#L241: func listenIPv4MulticastUDP(c *UDPConn, ifi *Interface, ip IP) error {
udpsock_posix.go#L256: func listenIPv6MulticastUDP(c *UDPConn, ifi *Interface, ip IP) error {