Home
last modified time | relevance | path

Searched refs:ss (Results 1 – 25 of 566) sorted by relevance

12345678910>>...23

/freebsd/sys/contrib/openzfs/module/icp/asm-x86_64/aes/
H A Daeskey.c82 { k[4 * (i) + 4] = ss[0] ^= ls_box(ss[3], 3) ^ t_use(r, c)[i]; \
83 k[4 * (i) + 5] = ss[1] ^= ss[0]; \
84 k[4 * (i) + 6] = ss[2] ^= ss[1]; \
85 k[4 * (i) + 7] = ss[3] ^= ss[2]; \
91 uint32_t ss[4]; in aes_encrypt_key128() local
93 rk[0] = ss[0] = word_in(key, 0); in aes_encrypt_key128()
94 rk[1] = ss[1] = word_in(key, 1); in aes_encrypt_key128()
95 rk[2] = ss[2] = word_in(key, 2); in aes_encrypt_key128()
96 rk[3] = ss[3] = word_in(key, 3); in aes_encrypt_key128()
116 { k[6 * (i) + 6] = ss[0] ^= ls_box(ss[5], 3) ^ t_use(r, c)[i]; \
[all …]
/freebsd/lib/libsdp/
H A Dsession.c45 sdp_session_p ss = NULL; in sdp_open() local
49 if ((ss = calloc(1, sizeof(*ss))) == NULL) in sdp_open()
53 ss->error = EINVAL; in sdp_open()
57 ss->s = socket(PF_BLUETOOTH, SOCK_SEQPACKET, BLUETOOTH_PROTO_L2CAP); in sdp_open()
58 if (ss->s < 0) { in sdp_open()
59 ss->error = errno; in sdp_open()
70 if (bind(ss->s, (struct sockaddr *) &sa, sizeof(sa)) < 0) { in sdp_open()
71 ss->error = errno; in sdp_open()
77 if (connect(ss->s, (struct sockaddr *) &sa, sizeof(sa)) < 0) { in sdp_open()
78 ss->error = errno; in sdp_open()
[all …]
H A Dsearch.c58 sdp_session_p ss = (sdp_session_p) xss; in sdp_search() local
63 if (ss == NULL) in sdp_search()
66 if (ss->req == NULL || ss->rsp == NULL || in sdp_search()
68 ss->error = EINVAL; in sdp_search()
72 req = ss->req; in sdp_search()
83 ss->error = EINVAL; in sdp_search()
102 if (ss->req_e - req < len) { in sdp_search()
103 ss->error = ENOBUFS; in sdp_search()
139 ss->cslen = 0; in sdp_search()
140 rsp = ss->rsp; in sdp_search()
[all …]
H A Dservice.c45 static int32_t sdp_receive_error_pdu(sdp_session_p ss);
51 sdp_session_p ss = (sdp_session_p) xss; in sdp_register_service() local
56 if (ss == NULL) in sdp_register_service()
59 datalen == 0 || !(ss->flags & SDP_SESSION_LOCAL)) { in sdp_register_service()
60 ss->error = EINVAL; in sdp_register_service()
64 ss->error = EMSGSIZE; in sdp_register_service()
69 pdu.tid = htons(++ss->tid); in sdp_register_service()
87 len = writev(ss->s, iov, sizeof(iov)/sizeof(iov[0])); in sdp_register_service()
91 ss->error = errno; in sdp_register_service()
95 len = sdp_receive_error_pdu(ss); in sdp_register_service()
[all …]
/freebsd/tests/sys/vm/
H A Dshared_shadow_inval_test.c115 ss->exit = true; \
120 ss->exit = true; \
126 static void child(struct shared_state *ss, int depth);
129 child_fork(struct shared_state *ss, int depth) in child_fork() argument
135 child(ss, depth); in child_fork()
140 child_fault(struct shared_state *ss) in child_fault() argument
144 for (i = 0; i < ss->len; i += ss->pagesize) in child_fault()
145 (void)((volatile char *)ss->p)[i]; in child_fault()
149 child_write(struct shared_state *ss, int val, size_t len) in child_write() argument
153 for (i = 0; i < len; i += ss->pagesize) in child_write()
[all …]
/freebsd/sys/net80211/
H A Dieee80211_scan_sw.c71 #define SCAN_PRIVATE(ss) ((struct scan_state *) ss) argument
98 struct ieee80211_scan_state *ss = ic->ic_scan; in ieee80211_swscan_detach() local
100 if (ss != NULL) { in ieee80211_swscan_detach()
101 scan_signal(ss, ISCAN_ABORT); in ieee80211_swscan_detach()
102 ieee80211_draintask(ic, &SCAN_PRIVATE(ss)->ss_scan_start); in ieee80211_swscan_detach()
104 &SCAN_PRIVATE(ss)->ss_scan_curchan); in ieee80211_swscan_detach()
115 if (ss->ss_ops != NULL) { in ieee80211_swscan_detach()
116 ss->ss_ops->scan_detach(ss); in ieee80211_swscan_detach()
138 struct ieee80211_scan_state *ss = ic->ic_scan; ieee80211_swscan_vdetach() local
151 struct ieee80211_scan_state *ss = ic->ic_scan; ieee80211_swscan_set_scan_duration() local
170 struct ieee80211_scan_state *ss = ic->ic_scan; ieee80211_swscan_start_scan_locked() local
272 struct ieee80211_scan_state *ss = ic->ic_scan; ieee80211_swscan_check_scan() local
335 struct ieee80211_scan_state *ss = ic->ic_scan; ieee80211_swscan_bg_scan() local
432 struct ieee80211_scan_state *ss = ic->ic_scan; cancel_scan() local
493 struct ieee80211_scan_state *ss = vap->iv_ic->ic_scan; ieee80211_swscan_scan_next() local
510 struct ieee80211_scan_state *ss = ic->ic_scan; ieee80211_swscan_scan_done() local
528 struct ieee80211_scan_state *ss = ic->ic_scan; ieee80211_swscan_probe_curchan() local
561 scan_curchan(struct ieee80211_scan_state * ss,unsigned long maxdwell) scan_curchan() argument
579 scan_signal(struct ieee80211_scan_state * ss,int iflags) scan_signal() argument
591 scan_signal_locked(struct ieee80211_scan_state * ss,int iflags) scan_signal_locked() argument
611 scan_mindwell(struct ieee80211_scan_state * ss) scan_mindwell() argument
624 struct ieee80211_scan_state *ss = (struct ieee80211_scan_state *) arg; scan_start() local
680 struct ieee80211_scan_state *ss = arg; scan_curchan_task() local
786 scan_end(struct ieee80211_scan_state * ss,int scandone) scan_end() argument
894 scan_done(struct ieee80211_scan_state * ss,int scandone) scan_done() argument
958 struct ieee80211_scan_state *ss = ic->ic_scan; ieee80211_swscan_add_scan() local
1021 struct scan_state *ss; ieee80211_swscan_attach() local
[all...]
H A Dieee80211_scan.c155 struct ieee80211_scan_state *ss; in ieee80211_scan_vdetach() local
158 ss = ic->ic_scan; in ieee80211_scan_vdetach()
162 if (ss != NULL && ss->ss_vap == vap) { in ieee80211_scan_vdetach()
163 if (ss->ss_ops != NULL) { in ieee80211_scan_vdetach()
164 ss->ss_ops->scan_detach(ss); in ieee80211_scan_vdetach()
165 ss->ss_ops = NULL; in ieee80211_scan_vdetach()
167 ss->ss_vap = NULL; in ieee80211_scan_vdetach()
238 struct ieee80211_scan_state *ss in ieee80211_scan_update_locked() local
281 ieee80211_scan_dump_channels(const struct ieee80211_scan_state * ss) ieee80211_scan_dump_channels() argument
298 ieee80211_scan_dump(struct ieee80211_scan_state * ss) ieee80211_scan_dump() argument
310 ieee80211_scan_copy_ssid(struct ieee80211vap * vap,struct ieee80211_scan_state * ss,int nssid,const struct ieee80211_scan_ssid ssids[]) ieee80211_scan_copy_ssid() argument
358 struct ieee80211_scan_state *ss = ic->ic_scan; ieee80211_check_scan() local
495 struct ieee80211_scan_state *ss; ieee80211_scan_done() local
599 struct ieee80211_scan_state *ss = ic->ic_scan; ieee80211_scan_timeout() local
612 struct ieee80211_scan_state *ss = vap->iv_ic->ic_scan; ieee80211_scan_assoc_success() local
628 struct ieee80211_scan_state *ss = vap->iv_ic->ic_scan; ieee80211_scan_assoc_fail() local
644 struct ieee80211_scan_state *ss = vap->iv_ic->ic_scan; ieee80211_scan_iterate() local
656 struct ieee80211_scan_state *ss = vap->iv_ic->ic_scan; ieee80211_scan_flush() local
671 struct ieee80211_scan_state *ss = ic->ic_scan; ieee80211_scan_pickchannel() local
[all...]
H A Dieee80211_scan_sta.c163 sta_attach(struct ieee80211_scan_state *ss) in sta_attach() argument
175 ss->ss_priv = st; in sta_attach()
184 sta_detach(struct ieee80211_scan_state *ss) in sta_detach() argument
186 struct sta_table *st = ss->ss_priv; in sta_detach()
203 sta_flush(struct ieee80211_scan_state *ss) in sta_flush() argument
205 struct sta_table *st = ss->ss_priv; in sta_flush()
210 ss->ss_last = 0; in sta_flush()
236 sta_add(struct ieee80211_scan_state *ss, in sta_add() argument
244 ((ss->ss_flags & (IEEE80211_SCAN_PICK1ST | IEEE80211_SCAN_GOTPICK)) == \ in sta_add()
246 struct sta_table *st = ss->ss_priv; in sta_add()
[all …]
/freebsd/sys/dev/snp/
H A Dsnp.c117 struct snp_softc *ss = data; in snp_dtor() local
120 tp = ss->snp_tty; in snp_dtor()
123 ttyoutq_free(&ss->snp_outq); in snp_dtor()
125 ss->snp_tty = NULL; in snp_dtor()
128 cv_destroy(&ss->snp_outwait); in snp_dtor()
129 free(ss, M_SNP); in snp_dtor()
139 struct snp_softc *ss; in snp_open() local
142 ss = malloc(sizeof(struct snp_softc), M_SNP, M_WAITOK|M_ZERO); in snp_open()
143 cv_init(&ss->snp_outwait, "snp out"); in snp_open()
145 devfs_set_cdevpriv(ss, snp_dtor); in snp_open()
[all …]
/freebsd/sys/netlink/
H A Dnetlink_snl.h130 typedef void snl_parse_field_f(struct snl_state *ss, void *hdr, void *target);
137 typedef bool snl_parse_attr_f(struct snl_state *ss, struct nlattr *attr,
151 typedef bool snl_parse_post_f(struct snl_state *ss, void *target);
202 snl_allocz(struct snl_state *ss, int len) in snl_allocz() argument
204 void *data = lb_allocz(ss->lb, len); in snl_allocz()
207 uint32_t size = ss->lb->size * 2; in snl_allocz()
215 lb->next = ss->lb; in snl_allocz()
216 ss->lb = lb; in snl_allocz()
217 data = lb_allocz(ss->lb, len); in snl_allocz()
225 snl_clear_lb(struct snl_state *ss) in snl_clear_lb() argument
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DInstrumentation.h25 inline void stringify_append(llvm::raw_string_ostream &ss, const T &t) {
26 ss << t; in stringify_append() argument
30 inline void stringify_append(llvm::raw_string_ostream &ss, const T &t) {
31 ss << &t;
35 inline void stringify_append(llvm::raw_string_ostream &ss, T *t) {
36 ss << reinterpret_cast<void *>(t);
40 inline void stringify_append(llvm::raw_string_ostream &ss, const T *t) {
41 ss << reinterpret_cast<const void *>(t);
45 inline void stringify_append<char>(llvm::raw_string_ostream &ss,
47 ss << '\"' <<
32 stringify_append(llvm::raw_string_ostream & ss,const T & t) stringify_append() argument
37 stringify_append(llvm::raw_string_ostream & ss,T * t) stringify_append() argument
42 stringify_append(llvm::raw_string_ostream & ss,const T * t) stringify_append() argument
59 stringify_helper(llvm::raw_string_ostream & ss,const Head & head) stringify_helper() argument
64 stringify_helper(llvm::raw_string_ostream & ss,const Head & head,const Tail &...tail) stringify_helper() argument
[all...]
/freebsd/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_spectral.c84 ar5416ConfigureSpectralScan(struct ath_hal *ah, HAL_SPECTRAL_PARAM *ss) in ar5416ConfigureSpectralScan() argument
92 if (ss->ss_fft_period != HAL_SPECTRAL_PARAM_NOVAL) { in ar5416ConfigureSpectralScan()
94 val |= SM(ss->ss_fft_period, AR_PHY_SPECTRAL_SCAN_FFT_PERIOD); in ar5416ConfigureSpectralScan()
97 if (ss->ss_period != HAL_SPECTRAL_PARAM_NOVAL) { in ar5416ConfigureSpectralScan()
99 val |= SM(ss->ss_period, AR_PHY_SPECTRAL_SCAN_PERIOD); in ar5416ConfigureSpectralScan()
102 if (ss->ss_period != HAL_SPECTRAL_PARAM_NOVAL) { in ar5416ConfigureSpectralScan()
104 val |= SM(ss->ss_period, AR_PHY_SPECTRAL_SCAN_PERIOD); in ar5416ConfigureSpectralScan()
109 if (ss->ss_count != HAL_SPECTRAL_PARAM_NOVAL) { in ar5416ConfigureSpectralScan()
111 val |= SM(ss->ss_count, AR_PHY_SPECTRAL_SCAN_COUNT); in ar5416ConfigureSpectralScan()
114 if (ss->ss_short_report == AH_TRUE) { in ar5416ConfigureSpectralScan()
[all …]
/freebsd/usr.sbin/arp/
H A Darp_netlink.c37 nl_init_socket(struct snl_state *ss) in nl_init_socket() argument
39 if (snl_init(ss, NETLINK_ROUTE)) in nl_init_socket()
46 if (snl_init(ss, NETLINK_ROUTE)) in nl_init_socket()
54 get_link_info(struct snl_state *ss, uint32_t ifindex, in get_link_info() argument
59 snl_init_writer(ss, &nw); in get_link_info()
65 if (! (hdr = snl_finalize_msg(&nw)) || !snl_send_message(ss, hdr)) in get_link_info()
68 hdr = snl_read_reply(ss, hdr->nlmsg_seq); in get_link_info()
73 if (!snl_parse_nlmsg(ss, hdr, &snl_rtm_link_parser_simple, link)) in get_link_info()
82 has_l2(struct snl_state *ss, uint32_t ifindex) in has_l2() argument
86 if (!get_link_info(ss, ifindex, &link)) in has_l2()
[all …]
/freebsd/sys/dev/mxge/
H A Dif_mxge.c1176 struct mxge_slice_state *ss; in mxge_reset() local
1236 rx_done = &sc->ss[slice].rx_done; in mxge_reset()
1269 ss = &sc->ss[slice]; in mxge_reset()
1271 ss->irq_claim = irq_claim + (2 * slice); in mxge_reset()
1273 ss->rx_done.idx = 0; in mxge_reset()
1274 ss->rx_done.cnt = 0; in mxge_reset()
1275 ss->tx.req = 0; in mxge_reset()
1276 ss->tx.done = 0; in mxge_reset()
1277 ss->tx.pkt_done = 0; in mxge_reset()
1278 ss->tx.queue_active = 0; in mxge_reset()
[all …]
/freebsd/tests/sys/netlink/
H A Dtest_snl.c55 struct snl_state ss; in ATF_TC_BODY() local
60 if (!snl_init(&ss, NETLINK_ROUTE)) in ATF_TC_BODY()
66 ATF_CHECK(setsockopt(ss.fd, SOL_NETLINK, NETLINK_CAP_ACK, &optval, sizeof(optval)) == 0); in ATF_TC_BODY()
68 snl_init_writer(&ss, &nw); in ATF_TC_BODY()
76 ATF_CHECK(snl_send_message(&ss, hdr)); in ATF_TC_BODY()
78 struct nlmsghdr *rx_hdr = snl_read_reply(&ss, hdr->nlmsg_seq); in ATF_TC_BODY()
84 ATF_CHECK(snl_parse_errmsg(&ss, rx_hdr, &e)); in ATF_TC_BODY()
97 struct snl_state ss; in ATF_TC_BODY() local
102 if (!snl_init(&ss, NETLINK_ROUTE)) in ATF_TC_BODY()
106 ATF_CHECK(setsockopt(ss.fd, SOL_NETLINK, NETLINK_CAP_ACK, &optval, sizeof(optval)) == 0); in ATF_TC_BODY()
[all …]
/freebsd/usr.sbin/ndp/
H A Dndp_netlink.c49 nl_init_socket(struct snl_state *ss) in nl_init_socket() argument
51 if (snl_init(ss, NETLINK_ROUTE)) in nl_init_socket()
58 if (snl_init(ss, NETLINK_ROUTE)) in nl_init_socket()
66 get_link_info(struct snl_state *ss, uint32_t ifindex, in get_link_info() argument
71 snl_init_writer(ss, &nw); in get_link_info()
77 if (! (hdr = snl_finalize_msg(&nw)) || !snl_send_message(ss, hdr)) in get_link_info()
80 hdr = snl_read_reply(ss, hdr->nlmsg_seq); in get_link_info()
85 if (!snl_parse_nlmsg(ss, hdr, &snl_rtm_link_parser_simple, link)) in get_link_info()
94 has_l2(struct snl_state *ss, uint32_t ifindex) in has_l2() argument
98 if (!get_link_info(ss, ifindex, &link)) in has_l2()
[all …]
/freebsd/crypto/openssl/ssl/
H A Dssl_sess.c29 __owur static int sess_timedout(time_t t, SSL_SESSION *ss) in DEFINE_STACK_OF()
32 if (ss->timeout_ovf) in DEFINE_STACK_OF()
34 return t > ss->calc_timeout; in DEFINE_STACK_OF()
78 void ssl_session_calculate_timeout(SSL_SESSION *ss) in ssl_session_calculate_timeout() argument
82 CALCULATE_TIMEOUT(ss, uint64_t); in ssl_session_calculate_timeout()
84 CALCULATE_TIMEOUT(ss, uint32_t); in ssl_session_calculate_timeout()
139 SSL_SESSION *ss; in SSL_SESSION_new() local
144 ss = OPENSSL_zalloc(sizeof(*ss)); in SSL_SESSION_new()
145 if (ss == NULL) { in SSL_SESSION_new()
150 ss->ext.max_fragment_len_mode = TLSEXT_max_fragment_length_UNSPECIFIED; in SSL_SESSION_new()
[all …]
/freebsd/sbin/ifconfig/
H A Difconfig_netlink.c85 nl_init_socket(struct snl_state *ss) in nl_init_socket() argument
87 if (snl_init(ss, NETLINK_ROUTE)) in nl_init_socket()
94 if (snl_init(ss, NETLINK_ROUTE)) in nl_init_socket()
105 struct snl_state ss = {}; in ifconfig_nl() local
107 nl_init_socket(&ss); in ifconfig_nl()
108 ctx->io_ss = &ss; in ifconfig_nl()
112 snl_free(&ss); in ifconfig_nl()
142 prepare_ifmap(struct snl_state *ss) in prepare_ifmap() argument
146 snl_init_writer(ss, &nw); in prepare_ifmap()
151 if (! (hdr = snl_finalize_msg(&nw)) || !snl_send_message(ss, hdr)) in prepare_ifmap()
[all …]
/freebsd/share/examples/sunrpc/sort/
H A Dsort_proc.c17 if (ss_res.ss.ss_val != (str *)NULL)
18 free(ss_res.ss.ss_val);
20 qsort(ssp->ss.ss_val, ssp->ss.ss_len, sizeof (char *), comparestrings);
21 ss_res.ss.ss_len = ssp->ss.ss_len;
22 ss_res.ss.ss_val = (str *)malloc(ssp->ss.ss_len * sizeof(str *));
23 bcopy(ssp->ss.ss_val, ss_res.ss.ss_val,
24 ssp->ss.ss_len * sizeof(str *));
/freebsd/tests/sys/netinet/
H A Dsocket_afinet.c94 int ss, ss2, cs, rc; in ATF_TC_BODY() local
103 ss = socket(PF_INET, SOCK_STREAM, 0); in ATF_TC_BODY()
104 ATF_CHECK(ss >= 0); in ATF_TC_BODY()
105 rc = setsockopt(ss, SOL_SOCKET, SO_REUSEPORT, &one, sizeof(one)); in ATF_TC_BODY()
112 rc = bind(ss, (struct sockaddr *)&sin, sizeof(sin)); in ATF_TC_BODY()
114 rc = listen(ss, 1); in ATF_TC_BODY()
117 rc = getsockname(ss, (struct sockaddr *)&sin, &slen); in ATF_TC_BODY()
125 ss2 = accept(ss, NULL, NULL); in ATF_TC_BODY()
151 close(ss); in ATF_TC_BODY()
157 int ss, ss2, cs, rc; in ATF_TC_BODY() local
[all …]
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-cardinalities_test.cc120 stringstream ss; in TEST() local
121 c.DescribeTo(&ss); in TEST()
122 EXPECT_PRED_FORMAT2(IsSubstring, "called any number of times", ss.str()); in TEST()
149 stringstream ss; in TEST() local
150 c.DescribeTo(&ss); in TEST()
151 EXPECT_PRED_FORMAT2(IsSubstring, "any number of times", ss.str()); in TEST()
202 stringstream ss; in TEST() local
203 c.DescribeTo(&ss); in TEST()
204 EXPECT_PRED_FORMAT2(IsSubstring, "never called", ss.str()); in TEST()
273 stringstream ss; in TEST() local
[all …]
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_spectral.c310 ar9300_configure_spectral_scan(struct ath_hal *ah, HAL_SPECTRAL_PARAM *ss) in ar9300_configure_spectral_scan() argument
324 HALDEBUG(ah, HAL_DEBUG_SPECTRAL, "ss_fft_period=%d\n", ss->ss_fft_period); in ar9300_configure_spectral_scan()
325 HALDEBUG(ah, HAL_DEBUG_SPECTRAL, "ss_period=%d\n", ss->ss_period); in ar9300_configure_spectral_scan()
326 HALDEBUG(ah, HAL_DEBUG_SPECTRAL, "ss_count=%d\n", ss->ss_count); in ar9300_configure_spectral_scan()
327 HALDEBUG(ah, HAL_DEBUG_SPECTRAL, "ss_short_report=%d\n", ss->ss_short_report); in ar9300_configure_spectral_scan()
328 HALDEBUG(ah, HAL_DEBUG_SPECTRAL, "ss_spectral_pri=%d\n", ss->ss_spectral_pri); in ar9300_configure_spectral_scan()
333 if (ss->ss_spectral_pri) { in ar9300_configure_spectral_scan()
335 nf_buf[i] = NOISE_PWR_DBM_2_INT(ss->ss_nf_cal[i]); in ar9300_configure_spectral_scan()
350 if (ss->ss_fft_period != HAL_SPECTRAL_PARAM_NOVAL) { in ar9300_configure_spectral_scan()
352 val |= SM(ss->ss_fft_period, AR_PHY_SPECTRAL_SCAN_FFT_PERIOD); in ar9300_configure_spectral_scan()
[all …]
/freebsd/tools/test/stress2/misc/
H A Dsigaltstack.sh32 stack_t ss;
34 ss.ss_sp = malloc(SIGSTKSZ);
35 if (ss.ss_sp == NULL)
38 ss.ss_size = SIGSTKSZ;
39 ss.ss_flags = 0;
40 if (sigaltstack(&ss, NULL) < 0)
74 stack_t ss;
76 if (sigaltstack(NULL, &ss) < 0)
79 if (ss.ss_sp != NULL || ss.ss_flags != SS_DISABLE ||
80 ss.ss_size != 0) {
[all …]
/freebsd/sbin/pflowctl/
H A Dpflowctl.c96 struct snl_state ss = {}; in list() local
104 snl_init(&ss, NETLINK_GENERIC); in list()
105 family_id = snl_get_genl_family(&ss, PFLOWNL_FAMILY_NAME); in list()
109 snl_init_writer(&ss, &nw); in list()
117 snl_send_message(&ss, hdr); in list()
119 while ((hdr = snl_read_reply_multi(&ss, seq_id, &e)) != NULL) { in list()
120 if (! snl_parse_nlmsg(&ss, hdr, &list_parser, &l)) in list()
148 struct snl_state ss = {}; in create() local
156 snl_init(&ss, NETLINK_GENERIC); in create()
157 family_id = snl_get_genl_family(&ss, PFLOWNL_FAMILY_NAME); in create()
[all …]
/freebsd/contrib/blocklist/test/
H A Dsrvtest.c86 struct sockaddr_storage ss; in process_udp() local
91 slen = (socklen_t)sizeof(ss); in process_udp()
92 memset(&ss, 0, sizeof(ss)); in process_udp()
93 if ((n = recvfrom(afd, buffer, sizeof(buffer), 0, (void *)&ss, in process_udp()
98 blacklist_sa(1, afd, (void *)&ss, slen, buffer); in process_udp()
105 struct sockaddr_storage ss; in cr() local
112 memset(&ss, 0, sizeof(ss)); in cr()
114 struct sockaddr_in *s = (void *)&ss; in cr()
119 struct sockaddr_in6 *s6 = (void *)&ss; in cr()
125 ss.ss_len = (uint8_t)slen; in cr()
[all …]

12345678910>>...23