/linux-2.4.37.9/net/sctp/ |
D | command.c | 46 int sctp_init_cmd_seq(sctp_cmd_seq_t *seq) in sctp_init_cmd_seq() argument 48 memset(seq, 0, sizeof(sctp_cmd_seq_t)); in sctp_init_cmd_seq() 55 int sctp_add_cmd(sctp_cmd_seq_t *seq, sctp_verb_t verb, sctp_arg_t obj) in sctp_add_cmd() argument 57 if (seq->next_free_slot >= SCTP_MAX_NUM_COMMANDS) in sctp_add_cmd() 60 seq->cmds[seq->next_free_slot].verb = verb; in sctp_add_cmd() 61 seq->cmds[seq->next_free_slot++].obj = obj; in sctp_add_cmd() 72 sctp_cmd_t *sctp_next_cmd(sctp_cmd_seq_t *seq) in sctp_next_cmd() argument 76 if (seq->next_cmd < seq->next_free_slot) in sctp_next_cmd() 77 retval = &seq->cmds[seq->next_cmd++]; in sctp_next_cmd()
|
D | proc.c | 86 static int sctp_snmp_seq_show(struct seq_file *seq, void *v) in sctp_snmp_seq_show() argument 91 seq_printf(seq, "%-32s\t%ld\n", sctp_snmp_list[i], in sctp_snmp_seq_show() 132 static void sctp_seq_dump_local_addrs(struct seq_file *seq, struct sctp_ep_common *epb) in sctp_seq_dump_local_addrs() argument 143 af->seq_dump_addr(seq, addr); in sctp_seq_dump_local_addrs() 148 static void sctp_seq_dump_remote_addrs(struct seq_file *seq, struct sctp_association *assoc) in sctp_seq_dump_remote_addrs() argument 159 af->seq_dump_addr(seq, addr); in sctp_seq_dump_remote_addrs() 164 static int sctp_eps_seq_show(struct seq_file *seq, void *v) in sctp_eps_seq_show() argument 172 seq_printf(seq, " ENDPT SOCK STY SST HBKT LPORT LADDRS\n"); in sctp_eps_seq_show() 179 seq_printf(seq, "%8p %8p %-3d %-3d %-4d %-5d ", ep, sk, in sctp_eps_seq_show() 182 sctp_seq_dump_local_addrs(seq, epb); in sctp_eps_seq_show() [all …]
|
/linux-2.4.37.9/net/ipv4/ipvs/ |
D | ip_vs_app.c | 207 __u32 seq = ntohl(th->seq); in vs_fix_seq() local 215 if(after(seq, vseq->init_seq)) { in vs_fix_seq() 216 th->seq = htonl(seq + vseq->delta); in vs_fix_seq() 220 th->seq = htonl(seq + vseq->previous_delta); in vs_fix_seq() 264 unsigned flag, __u32 seq, int diff) in vs_seq_update() argument 268 if ( !(cp->flags & flag) || after(seq, vseq->init_seq)) { in vs_seq_update() 271 vseq->init_seq = seq; in vs_seq_update() 289 __u32 seq; in ip_vs_app_pkt_out() local 304 seq = ntohl(th->seq); in ip_vs_app_pkt_out() 329 IP_VS_CONN_F_OUT_SEQ, seq, diff); in ip_vs_app_pkt_out() [all …]
|
/linux-2.4.37.9/net/ipv4/netfilter/ |
D | ip_nat_irc.c | 105 expect->seq, exp_irc_info->len, in irc_data_fixup() 106 ntohl(tcph->seq)); in irc_data_fixup() 142 expect->seq - ntohl(tcph->seq), in irc_data_fixup() 181 if (between(exp->seq + exp_irc_info->len, in help() 182 ntohl(tcph->seq), in help() 183 ntohl(tcph->seq) + datalen)) { in help() 192 exp->seq, exp_irc_info->len, in help() 193 ntohl(tcph->seq), in help() 194 ntohl(tcph->seq) + datalen); in help()
|
D | ip_nat_ftp.c | 171 expect->seq, exp_ftp_info->len, in ftp_data_fixup() 172 ntohl(tcph->seq)); in ftp_data_fixup() 209 expect->seq - ntohl(tcph->seq), in ftp_data_fixup() 249 if (between(exp->seq + exp_ftp_info->len, in help() 250 ntohl(tcph->seq), in help() 251 ntohl(tcph->seq) + datalen)) { in help() 259 exp->seq, exp_ftp_info->len, in help() 260 ntohl(tcph->seq), in help() 261 ntohl(tcph->seq) + datalen); in help()
|
D | ip_nat_helper.c | 66 this_way = &ct->nat.info.seq[dir]; in ip_nat_resize_packet() 67 other_way = &ct->nat.info.seq[!dir]; in ip_nat_resize_packet() 98 || before(this_way->correction_pos, ntohl(tcph->seq))) { in ip_nat_resize_packet() 99 this_way->correction_pos = ntohl(tcph->seq); in ip_nat_resize_packet() 402 &ct->nat.info.seq[!dir]); in ip_nat_sack_adjust() 425 this_way = &ct->nat.info.seq[dir]; in ip_nat_seq_adjust() 426 other_way = &ct->nat.info.seq[!dir]; in ip_nat_seq_adjust() 428 if (after(ntohl(tcph->seq), this_way->correction_pos)) in ip_nat_seq_adjust() 429 newseq = ntohl(tcph->seq) + this_way->offset_after; in ip_nat_seq_adjust() 431 newseq = ntohl(tcph->seq) + this_way->offset_before; in ip_nat_seq_adjust() [all …]
|
D | ip_conntrack_ftp.c | 284 || after(ntohl(tcph->seq) + datalen, old_seq_aft_nl)) { in help() 286 ntohl(tcph->seq) + datalen); in help() 288 ntohl(tcph->seq) + datalen; in help() 295 (ntohl(tcph->seq) != old_seq_aft_nl)) { in help() 329 ntohl(tcph->seq), datalen); in help() 336 matchlen, ntohl(tcph->seq) + matchoff); in help() 343 exp->seq = ntohl(tcph->seq) + matchoff; in help()
|
/linux-2.4.37.9/net/atm/ |
D | proc.c | 95 static void svc_addr(struct seq_file *seq, struct sockaddr_atmsvc *addr) in svc_addr() argument 101 seq_printf(seq, "%s", addr->sas_addr.pub); in svc_addr() 103 seq_putc(seq, '+'); in svc_addr() 105 seq_printf(seq, "%s", "(none)"); in svc_addr() 116 seq_printf(seq, "%02X", *prv++); in svc_addr() 118 seq_putc(seq, '.'); in svc_addr() 124 static void atmarp_info(struct seq_file *seq, struct net_device *dev,struct in atmarp_info() argument 143 seq_printf(seq, "%-6s%-4s%-4s%5ld ", in atmarp_info() 153 seq_printf(seq, "%s", buf); in atmarp_info() 157 seq_printf(seq, "(resolving)\n"); in atmarp_info() [all …]
|
/linux-2.4.37.9/drivers/md/ |
D | linear.c | 156 static void linear_status (struct seq_file *seq, mddev_t *mddev) in linear_status() argument 164 seq_printf(seq, " "); in linear_status() 167 seq_printf(seq, "[%s", in linear_status() 171 seq_printf(seq, "/%s] ", in linear_status() 174 seq_printf(seq, "] "); in linear_status() 176 seq_printf(seq, "\n"); in linear_status() 178 seq_printf(seq, " %dk rounding", mddev->param.chunk_size/1024); in linear_status()
|
D | raid0.c | 292 static void raid0_status (struct seq_file *seq, mddev_t *mddev) in raid0_status() argument 299 seq_printf(seq, " "); in raid0_status() 301 seq_printf(seq, "[z%d", in raid0_status() 304 seq_printf(seq, "/z%d] ", in raid0_status() 307 seq_printf(seq, "] "); in raid0_status() 310 seq_printf(seq, "\n"); in raid0_status() 313 seq_printf(seq, " z%d=[", j); in raid0_status() 315 seq_printf (seq, "%s/", partition_name( in raid0_status() 318 seq_printf (seq, "] zo=%d do=%d s=%d\n", in raid0_status() 324 seq_printf(seq, " %dk chunks", mddev->param.chunk_size/1024); in raid0_status()
|
/linux-2.4.37.9/drivers/scsi/aic7xxx/ |
D | Makefile | 72 -o aic7xxx_seq.h aic7xxx.seq 75 -o aic7xxx_seq.h aic7xxx.seq 77 $(aic7xxx_gen): aic7xxx.seq aic7xxx.reg aicasm/aicasm 87 -o aic79xx_seq.h aic79xx.seq 90 -o aic79xx_seq.h aic79xx.seq 92 $(aic79xx_gen): aic79xx.seq aic79xx.reg aicasm/aicasm
|
/linux-2.4.37.9/net/ipv4/ |
D | tcp_input.c | 429 if (before(tp->rcv_nxt, tp->rcv_rtt_est.seq)) in tcp_rcv_rtt_measure() 436 tp->rcv_rtt_est.seq = tp->rcv_nxt + tp->rcv_wnd; in tcp_rcv_rtt_measure() 444 TCP_SKB_CB(skb)->seq >= tp->ack.rcv_mss)) in tcp_rcv_rtt_measure_ts() 466 space = 2 * (tp->copied_seq - tp->rcvq_space.seq); in tcp_rcv_space_adjust() 501 tp->rcvq_space.seq = tp->copied_seq; in tcp_rcv_space_adjust() 1031 if(!before(TCP_SKB_CB(skb)->seq, end_seq)) in tcp_sacktag_write_queue() 1036 in_sack = !after(start_seq, TCP_SKB_CB(skb)->seq) && in tcp_sacktag_write_queue() 1129 if (after(TCP_SKB_CB(skb)->seq, lost_retrans)) in tcp_sacktag_write_queue() 2770 u32 ack_seq = TCP_SKB_CB(skb)->seq; in tcp_ack() 2986 tcp_replace_ts_recent(struct tcp_opt *tp, u32 seq) in tcp_replace_ts_recent() argument [all …]
|
D | tcp_output.c | 253 th->seq = htonl(tcb->seq); in tcp_transmit_skb() 268 between(tp->snd_up, tcb->seq+1, tcb->seq+0xFFFF)) { in tcp_transmit_skb() 269 th->urg_ptr = htons(tp->snd_up-tcb->seq); in tcp_transmit_skb() 459 TCP_SKB_CB(buff)->seq = TCP_SKB_CB(skb)->seq + len; in tcp_fragment() 461 TCP_SKB_CB(skb)->end_seq = TCP_SKB_CB(buff)->seq; in tcp_fragment() 852 if (!before(TCP_SKB_CB(skb)->seq, tp->snd_una+tp->snd_wnd) in tcp_retransmit_skb() 853 && TCP_SKB_CB(skb)->seq != tp->snd_una) in tcp_retransmit_skb() 884 TCP_SKB_CB(skb)->seq = TCP_SKB_CB(skb)->end_seq - 1; in tcp_retransmit_skb() 1046 TCP_SKB_CB(skb)->seq = tp->write_seq; in tcp_send_fin() 1047 TCP_SKB_CB(skb)->end_seq = TCP_SKB_CB(skb)->seq + 1; in tcp_send_fin() [all …]
|
D | syncookies.c | 64 ntohl(skb->h.th->seq), in cookie_v4_init_sequence() 81 __u32 seq; in cookie_check() local 84 seq = ntohl(skb->h.th->seq)-1; in cookie_check() 88 seq, jiffies / (HZ * 60), COUNTER_TRIES); in cookie_check() 137 req->rcv_isn = htonl(skb->h.th->seq) - 1; in cookie_v4_check()
|
D | tcp_minisocks.c | 41 static __inline__ int tcp_in_window(u32 seq, u32 end_seq, u32 s_win, u32 e_win) in tcp_in_window() argument 43 if (seq == s_win) in tcp_in_window() 45 if (after(end_seq, s_win) && before(seq, e_win)) in tcp_in_window() 47 return (seq == e_win && seq == end_seq); in tcp_in_window() 150 !tcp_in_window(TCP_SKB_CB(skb)->seq, TCP_SKB_CB(skb)->end_seq, in tcp_timewait_state_process() 157 if (th->syn && !before(TCP_SKB_CB(skb)->seq, tw->rcv_nxt)) in tcp_timewait_state_process() 162 TCP_SKB_CB(skb)->end_seq == TCP_SKB_CB(skb)->seq) { in tcp_timewait_state_process() 218 (TCP_SKB_CB(skb)->seq == tw->rcv_nxt && in tcp_timewait_state_process() 219 (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq || th->rst))) { in tcp_timewait_state_process() 264 (after(TCP_SKB_CB(skb)->seq, tw->rcv_nxt) || in tcp_timewait_state_process() [all …]
|
/linux-2.4.37.9/ipc/ |
D | util.c | 62 ids->seq = 0; in ipc_init_ids() 164 new->seq = ids->seq++; in ipc_addid() 165 if(ids->seq > ids->seq_max) in ipc_addid() 166 ids->seq = 0; in ipc_addid() 292 out->seq = in->seq; in kernel_to_ipc64_perm() 312 out->seq = in->seq; in ipc64_perm_to_ipc_perm()
|
D | util.h | 19 unsigned short seq; member 87 extern inline int ipc_buildid(struct ipc_ids* ids, int id, int seq) in ipc_buildid() argument 89 return SEQ_MULTIPLIER*seq + id; in ipc_buildid() 94 if(uid/SEQ_MULTIPLIER != ipcp->seq) in ipc_checkid()
|
/linux-2.4.37.9/drivers/net/ |
D | ibmveth.c | 966 static void *ibmveth_seq_start(struct seq_file *seq, loff_t *pos) in ibmveth_seq_start() argument 975 static void *ibmveth_seq_next(struct seq_file *seq, void *v, loff_t *pos) in ibmveth_seq_next() argument 981 static void ibmveth_seq_stop(struct seq_file *seq, void *v) in ibmveth_seq_stop() argument 985 static int ibmveth_seq_show(struct seq_file *seq, void *v) in ibmveth_seq_show() argument 987 struct ibmveth_adapter *adapter = seq->private; in ibmveth_seq_show() 991 seq_printf(seq, "%s %s\n\n", ibmveth_driver_string, ibmveth_driver_version); in ibmveth_seq_show() 993 seq_printf(seq, "Unit Address: 0x%lx\n", adapter->vdev->unit_address); in ibmveth_seq_show() 994 seq_printf(seq, "LIOBN: 0x%lx\n", adapter->liobn); in ibmveth_seq_show() 995 seq_printf(seq, "Current MAC: %02X:%02X:%02X:%02X:%02X:%02X\n", in ibmveth_seq_show() 998 seq_printf(seq, "Firmware MAC: %02X:%02X:%02X:%02X:%02X:%02X\n", in ibmveth_seq_show() [all …]
|
/linux-2.4.37.9/include/net/ |
D | dn_nsp.h | 180 static __inline__ void seq_add(unsigned short *seq, unsigned short off) in seq_add() argument 182 (*seq) += off; in seq_add() 183 (*seq) &= 0x0fff; in seq_add() 194 static __inline__ int sendack(unsigned short seq) in sendack() argument 196 return (int)((seq & 0x1000) ? 0 : 1); in sendack()
|
/linux-2.4.37.9/drivers/hil/ |
D | hp_sdc.c | 168 curr->seq[curr->idx++] = status; in hp_sdc_take() 169 curr->seq[curr->idx++] = data; in hp_sdc_take() 175 if(curr->seq[curr->actidx] & HP_SDC_ACT_SEMAPHORE) { in hp_sdc_take() 178 if(curr->seq[curr->actidx] & HP_SDC_ACT_CALLBACK) { in hp_sdc_take() 288 tmp = curr->seq[curr->actidx]; in hp_sdc_tasklet() 289 curr->seq[curr->actidx] |= HP_SDC_ACT_DEAD; in hp_sdc_tasklet() 377 act = curr->seq[idx]; in hp_sdc_put() 395 hp_sdc_status_out8(curr->seq[idx]); in hp_sdc_put() 407 qty = curr->seq[idx]; in hp_sdc_put() 410 hp_sdc_data_out8(curr->seq[curr->idx]); in hp_sdc_put() [all …]
|
/linux-2.4.37.9/net/core/ |
D | neighbour.c | 1470 u32 pid, u32 seq, int event) in neigh_fill_info() argument 1479 nlh = NLMSG_PUT(skb, pid, seq, event, sizeof(*ndm)); in neigh_fill_info() 1617 static struct neighbour *neigh_get_first(struct seq_file *seq) in neigh_get_first() argument 1619 struct neigh_seq_state *state = seq->private; in neigh_get_first() 1653 static struct neighbour *neigh_get_next(struct seq_file *seq, in neigh_get_next() argument 1657 struct neigh_seq_state *state = seq->private; in neigh_get_next() 1698 static struct neighbour *neigh_get_idx(struct seq_file *seq, loff_t *pos) in neigh_get_idx() argument 1700 struct neighbour *n = neigh_get_first(seq); in neigh_get_idx() 1704 n = neigh_get_next(seq, n, pos); in neigh_get_idx() 1712 static struct pneigh_entry *pneigh_get_first(struct seq_file *seq) in pneigh_get_first() argument [all …]
|
/linux-2.4.37.9/net/decnet/ |
D | dn_neigh.c | 517 static inline void dn_neigh_format_entry(struct seq_file *seq, in dn_neigh_format_entry() argument 524 seq_printf(seq, "%-7s %s%s%s %02x %02d %07ld %-8s\n", in dn_neigh_format_entry() 536 static int dn_neigh_seq_show(struct seq_file *seq, void *v) in dn_neigh_seq_show() argument 539 seq_puts(seq, "Addr Flags State Use Blksize Dev\n"); in dn_neigh_seq_show() 541 dn_neigh_format_entry(seq, v); in dn_neigh_seq_show() 547 static void *dn_neigh_seq_start(struct seq_file *seq, loff_t *pos) in dn_neigh_seq_start() argument 549 return neigh_seq_start(seq, pos, &dn_neigh_table, in dn_neigh_seq_start() 562 struct seq_file *seq; in dn_neigh_seq_open() local 574 seq = file->private_data; in dn_neigh_seq_open() 575 seq->private = s; in dn_neigh_seq_open()
|
/linux-2.4.37.9/drivers/scsi/ |
D | sata_sx4.c | 147 unsigned int seq; member 563 unsigned int seq, in __pdc20621_push_hdma() argument 573 writel(0x00000001, mmio + PDC_20621_SEQCTL + (seq * 4)); in __pdc20621_push_hdma() 574 readl(mmio + PDC_20621_SEQCTL + (seq * 4)); /* flush */ in __pdc20621_push_hdma() 581 unsigned int seq, in pdc20621_push_hdma() argument 589 __pdc20621_push_hdma(qc, seq, pkt_ofs); in pdc20621_push_hdma() 595 pp->hdma[idx].seq = seq; in pdc20621_push_hdma() 612 __pdc20621_push_hdma(pp->hdma[idx].qc, pp->hdma[idx].seq, in pdc20621_pop_hdma() 644 u8 seq = (u8) (port_no + 1); in pdc20621_packet_start() local 658 seq += 4; in pdc20621_packet_start() [all …]
|
/linux-2.4.37.9/include/linux/ |
D | netlink.h | 142 __nlmsg_put(struct sk_buff *skb, u32 pid, u32 seq, int type, int len) in __nlmsg_put() argument 152 nlh->nlmsg_seq = seq; in __nlmsg_put() 157 #define NLMSG_PUT(skb, pid, seq, type, len) \ argument 159 __nlmsg_put(skb, pid, seq, type, len); })
|
/linux-2.4.37.9/arch/x86_64/ia32/ |
D | ipc32.c | 39 unsigned short seq; member 50 unsigned short seq; member 208 err2 |= __put_user(s->sem_perm.seq, &usp64->sem_perm.seq); in put_semid() 227 err2 |= __put_user(s->sem_perm.seq, &usp32->sem_perm.seq); in put_semid() 415 err2 |= __put_user(m64.msg_perm.seq, &up64->msg_perm.seq); in msgctl32() 437 err2 |= __put_user(m64.msg_perm.seq, &up32->msg_perm.seq); in msgctl32() 485 err2 |= __put_user(s64.shm_perm.seq, &up64->shm_perm.seq); in put_shmid64() 505 err2 |= __put_user(s64.shm_perm.seq, &up32->shm_perm.seq); in put_shmid64()
|