Lines Matching defs:int
21 def roundup2(val: int, num: int) -> int:
93 def get_name(prefix: str, value: int) -> str:
101 def get_bitmask_map(prefix: str, value: int) -> Dict[int, str]:
117 def get_bitmask_str(prefix: str, value: int) -> str:
198 def ip_sa(ip: str, scopeid: int = 0) -> bytes:
211 def ip6_sa(ip6: str, scopeid: int) -> bytes:
221 def link_sa(ifindex: int = 0, iftype: int = 0) -> bytes:
226 def pxlen4_sa(pxlen: int) -> bytes:
230 def pxlen_to_ip4(pxlen: int) -> str:
239 def pxlen6_sa(pxlen: int) -> bytes:
243 def pxlen_to_ip6(pxlen: int) -> str:
361 def add_ip_attr(self, attr_type, ip_addr: str, scopeid: int = 0):
370 def add_ip6_attr(self, attr_type, ip6: str, scopeid: int):
373 def add_link_attr(self, attr_type, ifindex: Optional[int] = 0):
430 def verify(self, rtm_type: int, rtm_sa):
591 def read_data(self, seq: Optional[int] = None) -> bytes: