Lines Matching +defs:input +defs:port
812 void (*input)(struct ifnet *, struct mbuf *, const int);
819 .input = wg_input,
835 .input = wg_input_user,
1016 wg_algo_hash(uint8_t hash[static WG_HASH_LEN], const uint8_t input[],
1023 blake2s_update(&state, input, inputsize);
1142 const uint8_t input[], const size_t inputlen)
1154 if (input != NULL)
1155 WG_DUMP_HASH("input", input);
1157 input, inputlen);
1562 * XXX It might be prudent to put a prefix in the hash input, so
1564 * hash on the same input. But it's best if any changes are
3072 wg->wg_ops->input(&wg->wg_if, n, af);
3619 wg_bind_port(struct wg_softc *wg, const uint16_t port)
3624 if (port != 0 && old_port == port)
3632 sin->sin_port = htons(port);
3644 sin6->sin6_port = htons(port);
3651 wg->wg_listen_port = port;
4902 uint16_t port;
4911 if (!prop_dictionary_get_uint16(prop_dict, "listen_port", &port))
4914 error = wg->wg_ops->bind_port(wg, (uint16_t)port);
5558 wg_bind_port_user(struct wg_softc *wg, const uint16_t port)
5563 if (port != 0 && old_port == port)
5566 error = rumpuser_wg_sock_bind(wg->wg_user, port);
5570 wg->wg_listen_port = port;