def ip2long(s):
    return struct.unpack("!L", socket.inet_aton(s))[0]
Create a `DbfFieldDef` instance and append it to the dbf header.
dataset/ETHPy150Open securitykiss-com/rfw/rfw/iputil.py/ip2long--crossover with--dataset/ETHPy150Open kennethreitz/tablib/tablib/packages/dbfpy3/dbfnew.py/_FieldDefinition.appendToHeader