func (sf SocketFamily) String() string {
	switch sf {
	case AFUnspec:
		return "AFUnspec"
	case AFUnix:
		return "AFUnix"
	case AFInet:
		return "AFInet"
	case AFAX25:
		return "AFAX25"
	case AFIPX:
		return "AFIPX"
	case AFAPPLETALK:
		return "AFAPPLETALK"
	case AFNetRom:
		return "AFNetRom"
	case AFBridge:
		return "AFBridge"
	case AFATMPVC:
		return "AFATMPVC"
	case AFX25:
		return "AFX25"
	case AFInet6:
		return "AFInet6"
	case AFRose:
		return "AFRose"
	case AFDECnet:
		return "AFDECnet"
	case AFNetBEUI:
		return "AFNetBEUI"
	case AFSecurity:
		return "AFSecurity"
	case AFKey:
		return "AFKey"
	case AFNetLink:
		return "AFNetLink"
	case AFPacket:
		return "AFPacket"
	case AFASH:
		return "AFASH"
	case AFECONET:
		return "AFECONET"
	case AFATMSVC:
		return "AFATMSVC"
	case AFRDS:
		return "AFRDS"
	case AFSNA:
		return "AFSNA"
	case AFIRDA:
		return "AFIRDA"
	case AFPPPOX:
		return "AFPPPOX"
	case AFWanPipe:
		return "AFWanPipe"
	case AFLLC:
		return "AFLLC"
	case AFIB:
		return "AFIB"
	case AFMPLS:
		return "AFMPLS"
	case AFCAN:
		return "AFCAN"
	case AFTIPC:
		return "AFTIPC"
	case AFBluetooth:
		return "AFBluetooth"
	case AFIUCV:
		return "AFIUCV"
	case AFRXRPC:
		return "AFRXRPC"
	case AFISDN:
		return "AFISDN"
	case AFPHONET:
		return "AFPHONET"
	case AFIEEE802154:
		return "AFIEEE802154"
	case AFCAIF:
		return "AFCAIF"
	case AFALG:
		return "AFALG"
	case AFNFC:
		return "AFNFC"
	case AFVSOCK:
		return "AFVSOCK"
	case AFKCM:
		return "AFKCM"
	case AFQIPCRTR:
		return "AFQIPCRTR"
	case AFSMC:
		return "AFSMC"
	case AFXDP:
		return "AFXDP"
	case AFMAX:
		return "AFMAX"
	default:
		return fmt.Sprintf("SocketFamily(%v)", int32(sf))
	}
}
// SocketFamilyToString - Returns a socket family as its string representation
Returns a socket family as its string representation
// SocketFamilyToString - Returns a socket family as its string representation
func (sf SocketFamily) String() string {
	switch sf {
	case AFUnspec:
		return "AFUnspec"
	case AFUnix:
		return "AFUnix"
	case AFInet:
		return "AFInet"
	case AFAX25:
		return "AFAX25"
	case AFIPX:
		return "AFIPX"
	case AFAPPLETALK:
		return "AFAPPLETALK"
	case AFNetRom:
		return "AFNetRom"
	case AFBridge:
		return "AFBridge"
	case AFATMPVC:
		return "AFATMPVC"
	case AFX25:
		return "AFX25"
	case AFInet6:
		return "AFInet6"
	case AFRose:
		return "AFRose"
	case AFDECnet:
		return "AFDECnet"
	case AFNetBEUI:
		return "AFNetBEUI"
	case AFSecurity:
		return "AFSecurity"
	case AFKey:
		return "AFKey"
	case AFNetLink:
		return "AFNetLink"
	case AFPacket:
		return "AFPacket"
	case AFASH:
		return "AFASH"
	case AFECONET:
		return "AFECONET"
	case AFATMSVC:
		return "AFATMSVC"
	case AFRDS:
		return "AFRDS"
	case AFSNA:
		return "AFSNA"
	case AFIRDA:
		return "AFIRDA"
	case AFPPPOX:
		return "AFPPPOX"
	case AFWanPipe:
		return "AFWanPipe"
	case AFLLC:
		return "AFLLC"
	case AFIB:
		return "AFIB"
	case AFMPLS:
		return "AFMPLS"
	case AFCAN:
		return "AFCAN"
	case AFTIPC:
		return "AFTIPC"
	case AFBluetooth:
		return "AFBluetooth"
	case AFIUCV:
		return "AFIUCV"
	case AFRXRPC:
		return "AFRXRPC"
	case AFISDN:
		return "AFISDN"
	case AFPHONET:
		return "AFPHONET"
	case AFIEEE802154:
		return "AFIEEE802154"
	case AFCAIF:
		return "AFCAIF"
	case AFALG:
		return "AFALG"
	case AFNFC:
		return "AFNFC"
	case AFVSOCK:
		return "AFVSOCK"
	case AFKCM:
		return "AFKCM"
	case AFQIPCRTR:
		return "AFQIPCRTR"
	case AFSMC:
		return "AFSMC"
	case AFXDP:
		return "AFXDP"
	case AFMAX:
		return "AFMAX"
	default:
		return fmt.Sprintf("SocketFamily(%v)", int32(sf))
	}
}
func ( sf SocketFamily ) String ( ) string { switch sf { case AFUnspec : return " " case AFUnix : return " " case AFInet : return " " case AFAX25 : return " " case AFIPX : return " " case AFAPPLETALK : return " " case AFNetRom : return " " case AFBridge : return " " case AFATMPVC : return " " case AFX25 : return " " case AFInet6 : return " " case AFRose : return " " case AFDECnet : return " " case AFNetBEUI : return " " case AFSecurity : return " " case AFKey : return " " case AFNetLink : return " " case AFPacket : return " " case AFASH : return " " case AFECONET : return " " case AFATMSVC : return " " case AFRDS : return " " case AFSNA : return " " case AFIRDA : return " " case AFPPPOX : return " " case AFWanPipe : return " " case AFLLC : return " " case AFIB : return " " case AFMPLS : return " " case AFCAN : return " " case AFTIPC : return " " case AFBluetooth : return " " case AFIUCV : return " " case AFRXRPC : return " " case AFISDN : return " " case AFPHONET : return " " case AFIEEE802154 : return " " case AFCAIF : return " " case AFALG : return " " case AFNFC : return " " case AFVSOCK : return " " case AFKCM : return " " case AFQIPCRTR : return " " case AFSMC : return " " case AFXDP : return " " case AFMAX : return " " default : return fmt . Sprintf ( " " , int32 ( sf ) ) } }
Returns a socket family as its string representation
Returns a socket family as its string representation