Searched refs:port (Results 1 - 25 of 1303) sorted by last modified time

1234567891011>>

/freebsd-current/sys/netpfil/pf/
H A Dpf_nl.c131 nlattr_add_u16(nw, PF_STK_PORT0, key->port[0]);
132 nlattr_add_u16(nw, PF_STK_PORT1, key->port[1]);
443 { .type = PF_RAT_SRC_PORT, .off = _OUT(port[0]), .cb = nlattr_get_uint16 },
444 { .type = PF_RAT_DST_PORT, .off = _OUT(port[1]), .cb = nlattr_get_uint16 },
457 nlattr_add_u16(nw, PF_RAT_SRC_PORT, r->port[0]);
458 nlattr_add_u16(nw, PF_RAT_DST_PORT, r->port[1]);
730 { .type = PF_RT_DIVERT_PORT, .off = _OUT(divert.port), .cb = nlattr_get_uint16 },
973 nlattr_add_u16(nw, PF_RT_DIVERT_PORT, rule->divert.port);
/freebsd-current/sys/netinet/
H A Dtcp_input.c562 tcp6_input_with_port(struct mbuf **mp, int *offp, int proto, uint16_t port) argument
592 return (tcp_input_with_port(mp, offp, proto, port));
604 tcp_input_with_port(struct mbuf **mp, int *offp, int proto, uint16_t port) argument
633 char *s = NULL; /* address and port logging */
647 m->m_pkthdr.tcp_tun_port = port;
653 if (port)
711 if (port)
743 if (th->th_sum && (port == 0)) {
917 "to closed port\n", s, __func__);
1014 if ((tp->t_port != port)
[all...]
/freebsd-current/sys/net/
H A Dpfvar.h852 u_int16_t port; member in struct:pf_krule::__anon117
911 u_int16_t port; member in struct:pf_state_host
931 u_int16_t port[2]; member in struct:pf_state_key_cmp
939 u_int16_t port[2]; member in struct:pf_state_key
966 uint16_t port[2]; member in struct:pf_state_key_export
1106 u_int16_t port[2]; member in struct:pfsync_state_key
1616 #define PF_DPORT_RANGE 0x01 /* Dest port uses range */
1617 #define PF_RPORT_RANGE 0x02 /* RDR'ed port uses range */
1699 u_int16_t port; member in struct:pf_divert
/freebsd-current/sys/dev/qlnx/qlnxe/
H A Decore_mcp.c816 "Load phase: %x load cnt: 0x%x port id=%d port_load=%d\n",
2551 offsetof(struct nvm_cfg1, port[MFW_PORT(p_hwfn)]);
2718 "Read configuration from shmem: pause_on_host %02x protocol %02x BW [%02x - %02x] MAC %02x:%02x:%02x:%02x:%02x:%02x wwn port %llx node %llx ovlan %04x wol %02x\n",
3597 u32 port, u32 addr, u32 offset,
3604 nvm_offset = (port << DRV_MB_PARAM_TRANSCEIVER_PORT_OFFSET) |
3643 u32 port, u32 addr, u32 offset,
3649 nvm_offset = (port << DRV_MB_PARAM_TRANSCEIVER_PORT_OFFSET) |
3595 ecore_mcp_phy_sfp_read(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u32 port, u32 addr, u32 offset, u32 len, u8 *p_buf) argument
3641 ecore_mcp_phy_sfp_write(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u32 port, u32 addr, u32 offset, u32 len, u8 *p_buf) argument
H A Decore.h300 u16 port; member in struct:ecore_tunn_update_udp_port
1054 * port. In BB there is a bug in the LLH in which the PPFID is actually engine
/freebsd-current/sys/dev/bnxt/bnxt_re/
H A Dstats.c619 u8 port, int index)
630 if (!port || !stats)
617 bnxt_re_get_hw_stats(struct ib_device *ibdev, struct rdma_hw_stats *stats, u8 port, int index) argument
H A Dstats.h347 u8 port, int index);
H A Dmain.c43 #include <dev/mlx5/port.h>
3694 "Failed to query port config rc:%d", rc);
/freebsd-current/sys/conf/
H A Dkern.pre.mk373 # MKMODULESENV is set here so that port makefiles can augment
/freebsd-current/sbin/pfctl/
H A Dpfctl_optimize.c169 PF_RULE_FIELD(src.port, NOMERGE),
170 PF_RULE_FIELD(dst.port, NOMERGE),
1104 /* Compare two rules DST port field for skiplist construction */
1114 a->dst.port[0] != b->dst.port[0] ||
1115 a->dst.port[1] != b->dst.port[1])
1176 /* Compare two rules SRC port field for skiplist construction */
1181 a->src.port[0] != b->src.port[
[all...]
/freebsd-current/lib/libpfctl/
H A Dlibpfctl.h256 uint16_t port; member in struct:pfctl_rule::__anon69
326 uint16_t port[2]; member in struct:pfctl_state_key
H A Dlibpfctl.c628 ports[0] = addr->port[0];
629 ports[1] = addr->port[1];
630 nvlist_add_number_array(nvl, "port", ports, 2);
643 pf_nvuint_16_array(nvl, "port", 2, addr->port, NULL);
687 rule->divert.port = nvlist_get_number(nvl, "port");
1106 snl_add_msg_attr_u16(nw, PF_RAT_SRC_PORT, addr->port[0]);
1107 snl_add_msg_attr_u16(nw, PF_RAT_DST_PORT, addr->port[1]);
1264 snl_add_msg_attr_u16(nw, PF_RT_DIVERT_PORT, r->divert.port);
[all...]
/freebsd-current/contrib/ntp/sntp/
H A Dconfigure21689 # FIXME: the MSVC++ port hasn't been tested in a loooong time
21713 # The AIX port of GNU ld has always aspired to compatibility
27386 in_port_t port = 25;
/freebsd-current/contrib/ntp/ntpd/
H A Drefclock_wwv.c68 * port, where 0 is the mike port (default) and 1 is the line-in port.
69 * It does not seem useful to select the compact disc player port. Fudge
527 int port; /* codec port */ member in struct:wwvunit
852 * Set the input port and monitor gain for the next buffer.
855 up->port = 2;
857 up->port = 1;
2672 * routine also jiggles the input port an
[all...]
H A Drefclock_nmea.c80 * bit 4/5/6 - selects the baudrate for serial port :
415 /* Open serial port. Use CLK line discipline, if available. */
1750 * the server:port where nmead is running. Something like this:
1752 * ln -s server:port /dev/gps1
1768 char * port; /* port name or number */ local
1783 /* get port */
1784 port = strchr(host, ':');
1785 if (!port)
1786 return fd; /* not 'host:port' synta
[all...]
H A Drefclock_irig.c98 * is usually the result of no signal or wrong input port.
104 * format or wrong input port.
136 * port, where 0 is the mike port (default) and 1 is the line-in port.
137 * It does not seem useful to select the compact disc player port. Fudge
229 int port; /* codec port */ member in struct:irigunit
482 * Set the input port and monitor gain for the next buffer.
485 up->port
[all...]
H A Dntp_request.c688 ip->port = NSRCPORT(&pp->srcadr);
828 NSRCPORT(&addr) = ipl.port;
970 NSRCPORT(&addr) = ipl.port;
982 stoa(&addr), ipl.port, NSRCPORT(&addr)));
H A Dntp_restrict.c330 u_short port
344 || NTP_PORT == port)) {
356 u_short port
372 || NTP_PORT == (int)port)) {
H A Dntp_io.c974 u_short port
1004 SET_PORT(&wildaddr, port);
1049 SET_PORT(&wildaddr, port);
1072 SET_PORT(&wildif->bcast, port);
1311 u_short port
1320 SET_PORT(&itf->sin, port);
1321 SET_PORT(&itf->mask, port);
1322 SET_PORT(&itf->bcast, port);
1672 u_short port,
1691 DPRINTF(3, ("update_interfaces(%d)\n", port));
1671 update_interfaces( u_short port, interface_receiver_t receiver, void * data ) argument
2056 create_interface( u_short port, endpt * protot ) argument
[all...]
H A Dntp_config.c1157 fprintf(df, " port %d", atrv->value.i);
3764 u_short port; local
3774 port = 0;
3783 "invalid port number "
3788 port = (u_short)curr_opt->value.i;
3811 * and port number
3814 if (!port)
3815 port = TRAPPORT;
3833 "%u", port);
3857 /* port i
[all...]
/freebsd-current/contrib/ntp/libntp/
H A Daudio.c220 * only), preset the gain and set the input port. It assumes that the
360 info.play.port = AUDIO_SPEAKER;
378 * audio_gain - adjust codec gains and port
384 int port /* selected I/O port: 1 mic/2 line in */
412 , (2 == port)
441 if (o_port != port) {
444 printf("audio_gain: port %d\n", port);
446 l = (1 << ((port
[all...]
/freebsd-current/contrib/ntp/include/
H A Dntp_net.h67 /* sockaddr_u v4/v6 port in network byte order */
70 /* sockaddr_u v4/v6 port in host byte order */
73 /* assign sockaddr_u v4/v6 port from host byte order */
74 #define SET_PORT(psau, port) (NSRCPORT(psau) = htons(port))
173 /* are two sockaddr_u's addresses equal? (port excluded) */
/freebsd-current/contrib/ntp/
H A Dconfigure1826 --enable-PCF + Conrad parallel port radio clock
11653 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11677 # The AIX port of GNU ld has always aspired to compatibility
31595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Conrad parallel port radio clock" >&5
31596 printf %s "checking Conrad parallel port radio clock... " >&6; }
33998 in_port_t port = 25;
/freebsd-current/sys/amd64/amd64/
H A Dmachdep.c1821 inb_(u_short port) argument
1823 return inb(port);
1827 outb_(u_short port, u_char data) argument
1829 outb(port, data);
/freebsd-current/libexec/ftpd/
H A Dftpd.c437 * Open a socket, bind it to the FTP port, and start
863 u_int16_t port; local
880 port = su->su_port;
902 su->su_port = port;
2843 if (pdata >= 0) /* close old port if one set */
2927 if (pdata >= 0) /* close old port if one set */

Completed in 722 milliseconds

1234567891011>>