Lines Matching defs:str
89 def get_props(prefix: str) -> List[str]:
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:
194 def is_ipv6(ip: str) -> bool:
198 def ip_sa(ip: str, scopeid: int = 0) -> bytes:
205 def ip4_sa(ip: str) -> bytes:
211 def ip6_sa(ip6: str, scopeid: int) -> bytes:
361 def add_ip_attr(self, attr_type, ip_addr: str, scopeid: int = 0):
367 def add_ip4_attr(self, attr_type, ip: str):
370 def add_ip6_attr(self, attr_type, ip6: str, scopeid: int):
530 def new_rtm_any(self, msg_type, prefix: str, gw: Union[str, bytes]):
549 def new_rtm_add(self, prefix: str, gw: Union[str, bytes]):
552 def new_rtm_del(self, prefix: str, gw: Union[str, bytes]):
555 def new_rtm_change(self, prefix: str, gw: Union[str, bytes]):