Home | History | Annotate | Download | only in net_test

Lines Matching defs:struct

24 import struct
48 NLMsgHdr = cstruct.Struct("NLMsgHdr", "=LHHLL", "length type flags seq pid")
49 NLMsgErr = cstruct.Struct("NLMsgErr", "=i", "error")
50 NLAttr = cstruct.Struct("NLAttr", "=HH", "nla_len nla_type")
108 IfinfoMsg = cstruct.Struct(
110 RTMsg = cstruct.Struct(
113 RTACacheinfo = cstruct.Struct(
135 IfAddrMsg = cstruct.Struct(
138 IFACacheinfo = cstruct.Struct(
140 NDACacheinfo = cstruct.Struct(
155 NdMsg = cstruct.Struct(
247 returned by _ParseAttributes (e.g., for RTA_METRICS), a cstruct.Struct
274 data = struct.unpack("=I", nla_data)[0]
276 data = struct.unpack("=i", nla_data)[0]
326 match_nlattr: A blob of struct nlattrs that express the match condition.
334 # Create a struct rtmsg specifying the table and the given match attributes.
418 # Create a struct rtmsg specifying the table and the given match attributes.