type IPSetEntry …
type IPSetResult …
type IpsetCreateOptions …
func IpsetProtocol() (uint8, uint8, error) { … }
func IpsetCreate(setname, typename string, options IpsetCreateOptions) error { … }
func IpsetDestroy(setname string) error { … }
func IpsetFlush(setname string) error { … }
func IpsetSwap(setname, othersetname string) error { … }
func IpsetList(setname string) (*IPSetResult, error) { … }
func IpsetListAll() ([]IPSetResult, error) { … }
func IpsetAdd(setname string, entry *IPSetEntry) error { … }
func IpsetDel(setname string, entry *IPSetEntry) error { … }
func IpsetTest(setname string, entry *IPSetEntry) (bool, error) { … }
func (h *Handle) IpsetProtocol() (protocol uint8, minVersion uint8, err error) { … }
func (h *Handle) IpsetCreate(setname, typename string, options IpsetCreateOptions) error { … }
func (h *Handle) IpsetDestroy(setname string) error { … }
func (h *Handle) IpsetFlush(setname string) error { … }
func (h *Handle) IpsetSwap(setname, othersetname string) error { … }
func (h *Handle) IpsetList(name string) (*IPSetResult, error) { … }
func (h *Handle) IpsetListAll() ([]IPSetResult, error) { … }
func (h *Handle) IpsetAdd(setname string, entry *IPSetEntry) error { … }
func (h *Handle) IpsetDel(setname string, entry *IPSetEntry) error { … }
func encodeIP(ip net.IP) (*nl.RtAttr, error) { … }
func buildEntryData(entry *IPSetEntry) (*nl.RtAttr, error) { … }
func (h *Handle) ipsetAddDel(nlCmd int, setname string, entry *IPSetEntry) error { … }
func (h *Handle) IpsetTest(setname string, entry *IPSetEntry) (bool, error) { … }
func (h *Handle) newIpsetRequest(cmd int) *nl.NetlinkRequest { … }
func getIpsetDefaultWithTypeName(typename string) uint8 { … }
func ipsetExecute(req *nl.NetlinkRequest) (msgs [][]byte, err error) { … }
func ipsetUnserialize(msgs [][]byte) (result IPSetResult) { … }
func (result *IPSetResult) unserialize(msg []byte) { … }
func (result *IPSetResult) parseAttrData(data []byte) { … }
func (result *IPSetResult) parseAttrADT(data []byte) { … }
func parseIPSetEntry(data []byte) (entry IPSetEntry) { … }