Lines Matching refs:token
59 const char *token, in parse_af_token() argument
67 assert(token); in parse_af_token()
70 af = af_from_ipv4_ipv6(token); in parse_af_token()
79 const char *token, in parse_ip_protocol_token() argument
87 assert(token); in parse_ip_protocol_token()
90 proto = ip_protocol_from_tcp_udp(token); in parse_ip_protocol_token()
99 const char *token, in parse_ip_ports_token() argument
105 assert(token); in parse_ip_ports_token()
109 if (streq(token, "any")) in parse_ip_ports_token()
113 int r = parse_ip_port_range(token, &mn, &mx); in parse_ip_ports_token()
159 _cleanup_free_ char *token = NULL; in parse_socket_bind_item() local
161 r = extract_first_word(&p, &token, ":", EXTRACT_DONT_COALESCE_SEPARATORS); in parse_socket_bind_item()
167 if (isempty(token)) in parse_socket_bind_item()
171 r = (*parser_ptr)(token, &af, &proto, &nr, &mn); in parse_socket_bind_item()