/freebsd-10.0-release/lib/libipsec/ |
H A D | pfkey.c | 868 pfkey_send_spdadd(so, src, prefs, dst, prefd, proto, policy, policylen, seq) 871 u_int prefs, prefd, proto; 879 src, prefs, dst, prefd, proto, 894 pfkey_send_spdadd2(so, src, prefs, dst, prefd, proto, ltime, vtime, 898 u_int prefs, prefd, proto; 907 src, prefs, dst, prefd, proto, 922 pfkey_send_spdupdate(so, src, prefs, dst, prefd, proto, policy, policylen, seq) 925 u_int prefs, prefd, proto; 933 src, prefs, dst, prefd, proto, 948 pfkey_send_spdupdate2(so, src, prefs, dst, prefd, proto, ltim [all...] |
/freebsd-10.0-release/contrib/gdb/gdb/ |
H A D | remote-utils.h | 129 void sr_scan_args (char *proto, char *args);
|
/freebsd-10.0-release/contrib/wpa/src/rsn_supp/ |
H A D | wpa_i.h | 74 unsigned int proto; member in struct:wpa_sm 169 u16 proto, const u8 *buf, size_t len) 172 return sm->ctx->ether_send(sm->ctx->ctx, dest, proto, buf, len); 297 int ver, const u8 *dest, u16 proto, 168 wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest, u16 proto, const u8 *buf, size_t len) argument
|
H A D | wpa.c | 32 * @proto: Ethertype (usually ETH_P_EAPOL) 38 int ver, const u8 *dest, u16 proto, 68 wpa_sm_ether_send(sm, dest, proto, msg, msg_len); 110 reply->type = sm->proto == WPA_PROTO_RSN ? 197 if (sm->proto == WPA_PROTO_RSN && 328 reply->type = sm->proto == WPA_PROTO_RSN ? 332 if (sm->proto == WPA_PROTO_RSN) 396 if (sm->proto == WPA_PROTO_RSN) { 540 if (sm->proto == WPA_PROTO_RSN) { 963 if (sm->proto 37 wpa_eapol_key_send(struct wpa_sm *sm, const u8 *kck, int ver, const u8 *dest, u16 proto, u8 *msg, size_t msg_len, u8 *key_mic) argument [all...] |
/freebsd-10.0-release/crypto/heimdal/appl/telnet/telnet/ |
H A D | telnet_locl.h | 165 #include <libtelnet/misc-proto.h>
|
/freebsd-10.0-release/sbin/hastd/ |
H A D | Makefile | 15 SRCS+= proto.c proto_common.c proto_socketpair.c proto_tcp.c proto_uds.c
|
/freebsd-10.0-release/sys/net/ |
H A D | if_gre.h | 144 u_int16_t proto; /* protocol and S-bit */ member in struct:mobile_h
|
H A D | if_spppfr.c | 173 int dlci, hlen, proto; local 229 proto = ntohs (*(short*) (h+8)); 230 if (proto == ETHERTYPE_ARP) { 248 proto = ETHERTYPE_IP; 256 switch (proto) {
|
H A D | if_stf.c | 316 stf_encapcheck(m, off, proto, arg) 319 int proto; 338 if (proto != IPPROTO_IPV6) 686 int proto; local 693 proto = mtod(m, struct ip *)->ip_p; 695 if (proto != IPPROTO_IPV6) {
|
/freebsd-10.0-release/sys/netinet/libalias/ |
H A D | alias_dummy.c | 108 .proto = UDP|TCP,
|
H A D | alias_pptp.c | 140 .proto = TCP, 147 .proto = TCP, 159 .proto = IP, 166 .proto = IP, 246 /* The PPTP protocol ID used in the GRE 'proto' field. */
|
/freebsd-10.0-release/sys/netinet6/ |
H A D | dest6.c | 62 dest6_input(struct mbuf **mp, int *offp, int proto) argument
|
/freebsd-10.0-release/usr.bin/netstat/ |
H A D | ipx.c | 84 ipxprotopr(u_long off, const char *name, int af1 __unused, int proto __unused) 157 spx_stats(u_long off, const char *name, int af1 __unused, int proto __unused) 233 ipx_stats(u_long off, const char *name, int af1 __unused, int proto __unused) 276 ipxerr_stats(u_long off, const char *name, int af __unused, int proto __unused)
|
H A D | pfkey.c | 114 int proto __unused)
|
/freebsd-10.0-release/usr.sbin/IPXrouted/ |
H A D | main.c | 96 int getsocket(int type, int proto, struct sockaddr_ipx *sipx); 319 getsocket(type, proto, sipx) 320 int type, proto; 327 while ((s = socket(domain, type, proto)) < 0 && retry) {
|
/freebsd-10.0-release/usr.sbin/ppp/ |
H A D | ipcp.h | 103 #define fsm2ipcp(fp) (fp->proto == PROTO_IPCP ? (struct ipcp *)fp : NULL)
|
H A D | lcp.h | 94 unsigned chap05 : 2; /* Challenge Handshake Authentication proto */ 132 #define fsm2lcp(fp) (fp->proto == PROTO_LCP ? (struct lcp *)fp : NULL)
|
/freebsd-10.0-release/sbin/ifconfig/ |
H A D | iflagg.c | 149 const char *proto = "<unknown>"; local 174 proto = lpr[i].lpr_name; 179 printf("\tlaggproto %s", proto);
|
/freebsd-10.0-release/sbin/ipfw/ |
H A D | ipfw2.c | 337 { "proto", TOK_PROTO }, 565 print_port(int proto, uint16_t port) argument 568 if (proto == IPPROTO_ETHERTYPE) { 578 struct protoent *pe = getprotobynumber(proto); 607 print_newports(ipfw_insn_u16 *cmd, int proto, int opcode) argument 622 print_port(proto, p[0]); 625 print_port(proto, p[1]); 635 * proto == -1 disables the protocol check; 636 * proto == IPPROTO_ETHERTYPE looks up an internal table 637 * proto 641 strtoport(char *s, char **end, int base, int proto) argument 699 fill_newports(ipfw_insn_u16 *cmd, char *av, int proto, int cblen) argument 1127 int proto = 0; /* default */ local 2674 int proto; local 2691 u_char proto = IPPROTO_IP; local 2712 u_char proto = IPPROTO_IP; local 2765 add_ports(ipfw_insn *cmd, char *av, u_char proto, int opcode, int cblen) argument 2779 add_src(ipfw_insn *cmd, char *av, u_char proto, int cblen) argument 2810 add_dst(ipfw_insn *cmd, char *av, u_char proto, int cblen) argument 2881 u_char proto = IPPROTO_IP; /* default protocol */ local [all...] |
H A D | nat.c | 209 StrToPortRange (const char* str, const char* proto, port_range *portRange) argument 218 sp = getservbyname (str,proto); 236 errx (EX_DATAERR, "%s/%s: unknown service", str, proto); 267 StrToAddrAndPortRange (const char* str, struct in_addr* addr, char* proto, argument 280 return StrToPortRange (ptr, proto, portRange); 286 * The next 3 functions add support for the addr, port and proto redirect and 417 r->proto = StrToProto(**av); 435 if (r->proto == IPPROTO_SCTP) { 470 if (r->proto == IPPROTO_SCTP) { /* so the logic below still works */ 530 if (r->proto [all...] |
/freebsd-10.0-release/sys/netpfil/pf/ |
H A D | pf_lb.c | 155 else if (r->proto && r->proto != pd->proto) 179 else if (r->os_fingerprint != PF_OSFP_ANY && (pd->proto != 211 pf_get_sport(sa_family_t af, u_int8_t proto, struct pf_rule *r, argument 224 if (proto == IPPROTO_ICMP) { 231 key.proto = proto; 242 if (!(proto == IPPROTO_TCP || proto [all...] |
/freebsd-10.0-release/contrib/wpa/src/l2_packet/ |
H A D | l2_packet_ndis.c | 91 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, argument 123 eth->h_proto = htons(proto); 332 USHORT proto = htons(protocol); local 336 IOCTL_NDISUIO_SET_ETHER_TYPE, &proto, 337 sizeof(proto), NULL, 0, &written, NULL)) {
|
/freebsd-10.0-release/sys/netinet/ |
H A D | raw_ip.c | 144 #define INP_PCBHASH_RAW(proto, laddr, faddr, mask) \ 145 (((proto) + (laddr) + (faddr)) % (mask) + 1) 277 int proto = ip->ip_p; local 295 hash = INP_PCBHASH_RAW(proto, ip->ip_src.s_addr, 299 if (inp->inp_ip_p != proto) 331 if (inp->inp_ip_p && inp->inp_ip_p != proto) 377 if (proto != IPPROTO_IGMP) { 793 rip_attach(struct socket *so, int proto, struct thread *td) argument 804 if (proto >= IPPROTO_MAX || proto < [all...] |
/freebsd-10.0-release/sys/netipsec/ |
H A D | ipsec_input.c | 102 #define IPSEC_ISTAT(proto, name) do { \ 103 if ((proto) == IPPROTO_ESP) \ 105 else if ((proto) == IPPROTO_AH) \ 316 sproto = saidx->proto; 453 tdbi->proto = sproto; 487 DPRINTF(("%s: queue full; proto %u packet dropped\n", 498 ipsec4_common_ctlinput(int cmd, struct sockaddr *sa, void *v, int proto) argument 507 ipsec6_common_input(struct mbuf **mp, int *offp, int proto) argument 538 IPSEC_ISTAT(proto, hdrops); 545 (void) ipsec_common_input(*mp, *offp, protoff, AF_INET6, proto); [all...] |
/freebsd-10.0-release/sys/netgraph/ |
H A D | ng_nat.c | 416 rp->proto); 431 entry->rdr.proto = rp->proto; 483 entry->rdr.proto = NG_NAT_REDIRPROTO_ADDR; 525 rp->alias_addr, rp->proto); 537 entry->rdr.proto = rp->proto;
|